Visual Studio locks output file on build

前端 未结 16 1337
一生所求
一生所求 2020-12-02 06:28

I have a simple WinForms solution in VS 2010. Whenever I build it, output file (bin\\debug\\app.exe) ends up locked, and subsequent builds fail with a message like \"

16条回答
  •  既然无缘
    2020-12-02 06:58

    I managed to fix this problem by disabling McAfee LiveSafe real time scanning. My .exe file would lock up like the OP describes and I would have no way to remove the file, which meant I could not build the solution. After disabling the McAfee feature the problem was gone.

    Then I of course went on to fully uninstall McAfee, which was only installed because my PC is new and it came with the program already installed.

提交回复
热议问题