Unable to copy file. Access to the path is denied

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

提交回复
热议问题