Unable to copy file. Access to the path is denied

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

    If all else fails try a reboot of your computer - only thing that worked for me.

    0 讨论(0)
  • 2020-12-05 23:45

    Suprisingly, using

    Thread.Sleep(1000); 
    

    was the reason the project failed to compile for me with the same error message. Converting to

    Task.Delay(1000).Wait();
    

    solved it. Command line application, .NET 4.7.2

    0 讨论(0)
提交回复
热议问题