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

前端 未结 11 2573
你的背包
你的背包 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 14:55

    Do you have Antivirus running? Some AV products scan the file when they see them being closed. If the AV software still has the file open when you come to delete it, you'll see this problem. You could retry the delete after a small delay.

    I've also seen this happen with search indexers.

提交回复
热议问题