Designer could not be started because of a permissions issue

         我使用VS2013 community 开发winphone应用的时候新建一个项目,设计界面无法打开,并出现Designer could not be started because of a permissions issue on the drive to which it is installed. Please check the permissions of the folder before trying to start the designer.的错误提示。google一下,应该是权限的问题。我使用如下方法成功解决:

        

THIS MUST BE DONE AS ADMINISTRATOR

  1. Select the folder in Windows Explorer, right-click and select 'Properties'
  2. Click the 'Security' tab then click the 'Advanced...' button
  3. At the top of the new window there should 'Name' and 'Owner'. Next to owner click the 'Change' link.
  4. In the new window make sure you have your local computer selected under 'From this location:'. If not click 'Locations...' and select your local computer then click 'OK'.
  5. In the textbox under 'Enter the object name to select, type 'Users' and click 'Check Names...'
  6. Click 'OK'
  7. At the top of the page check the option 'Replace owner on subcontainers and objects'. Click 'Apply'. You may be prompted to shut the properties dialog to apply the ownership changes, if so close all dialogs then repeat steps 1 and 2.
  8. On the 'Permissions' tab select 'Users' and click 'Edit'.
  9. Select 'Full Control' then click 'OK'.

When you start VS2012 after this and open a designer it will prompt you that it needs to change permissions, do this and this time it will succeed! Hopefully....

你可能感兴趣的:(C#,工程上一些常见问题总结)