Unable to copy file. Access to the path is denied

后端 未结 20 3240
[愿得一人]
[愿得一人] 2020-12-05 23:07

I am working on asp.net 3.5 project on remote machine. I am accessing it using remote desktop. When I build the project, I get error:

Error   62  Unable to c         


        
20条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-05 23:27

    For me, my issue was that my AntiVirus had a handle on the referenced .dll that was used in my solution. Not exactly sure why, plan on researching it later. But killing my AV Service that had the handle, then restarting Visual Studio fixed this issue for me.

    Hope this helps those of you who are maybe having to restart your entire PC when this happens, as before I figured this out, it was the only fix to my solution as well.

提交回复
热议问题