Visual Studio Publish Failed: “Unable to delete file … Access to the path … is denied.”

前端 未结 11 1237
生来不讨喜
生来不讨喜 2021-02-12 13:43

I\'ve recently switched from a Windows XP machine to Windows 7. I use Subversion and TortoiseSVN.

I cannot publish my .NET application in Visual Studio. I get over a tho

11条回答
  •  抹茶落季
    2021-02-12 14:08

    Oddly enough, I tried building an old project with Visual Studio 2010. It gave me the error that it failed due to my access being denied. I tried to remove the read-only off the directory and had no luck.

    Although, when I opened it in Visual Studio 2015, it gave me the error that my certificate was expired.

    Upon creating a new certificate and rebuilding - everything was fine.

提交回复
热议问题