Unable to copy file - access to the path is denied

后端 未结 30 1269
死守一世寂寞
死守一世寂寞 2020-11-30 19:05

I am using Visual Studio 2005. After taking code from version control first, the c#.net application runs correctly. But, after doing some modifications, when I build I am

30条回答
  •  醉话见心
    2020-11-30 20:03

    I had the same issue, To resolved this i had checked/done several things

    What Didn't work

    1) Read/write permissions were given to directory 
    2) Restarted visual studio
    3) Tried deleting visual studio temp files
    

    What worked at last

    Just paste the command given by Fred Morrison into the "Package Manager Console":

    Get-Process | Where-Object -Property Name -EQ 'VBCSCompiler' | Stop-Process -Force -Verbose
    

    Note: Just an observation Restarting Visual studio might not work in this case but restarting system can because stoppin process "VBCSCompiler" was the solution so we can do it either way.

提交回复
热议问题