Unable to copy file. Access to the path is denied

后端 未结 20 3292
[愿得一人]
[愿得一人] 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:39

    Tip for VS noobs like me: Check you're looking at the right /bin folder.

    Details: To me, "Failed to copy from SomeDependancy/bin/Debug to /bin" sounds like it means the destination is SomeDependancy/bin. But in my application it meant MainProject/bin. I cottoned on to the idea when I discovered I could build the dependencies and only MainProject was failing. I haven't completed testing yet, but it looks like the suggestion about recreating the folder might now work for me.

提交回复
热议问题