NUnit [TearDown] fails — what process is accessing my files?

前端 未结 11 2601
你的背包
你的背包 2021-02-12 14:17

Final Edit: I found a solution to the problem (at the bottom of the question).

I\'ve got an Nunit problem that\'s causing me grief. Edit:

11条回答
  •  终归单人心
    2021-02-12 15:01

    Call static method

    SqliteConnection.ClearAllPools()

    After this call the database file is unlocked and you can delete the file in the [TearDown].

提交回复
热议问题