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

前端 未结 11 1239
生来不讨喜
生来不讨喜 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:12

    I believe your issue is related to the default permissions assigned the to C: drive in windows 7 (and Vista).

    1. Open explorer and find the c:\code folder
    2. Right click on the c:\code folder and select properties
    3. select the security tab
    4. select the user ID "Users"
    5. In the permissions box, tick the "modify" allow box
    6. Select OK, OK until permision dialog boxes close

    That should resolve the permission issue

提交回复
热议问题