visual-studio 修改解决方案文件的权限
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 
原文地址: http://stackoverflow.com/questions/385874/
Warning: these are provided under cc-by-sa 4.0 license.  You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Permissions on solution files to modify
提问by user48312
I have project solutions developed in VS2005. It is bound to TFS (Team Foundation Server). I want to convert the solution to VS2008 version, keeping the binding as is, however I am getting an error while converting.
我有在 VS2005 中开发的项目解决方案。它绑定到 TFS(Team Foundation Server)。我想将解决方案转换为 VS2008 版本,保持绑定不变,但是在转换时出现错误。
Error message:
错误信息:
Solution file "C:\abc\abc.sln" cannot be converted because it cannot be modified. To convert the solution, change the permissions on the solution file to allow modification and reopen it"
解决方案文件“ C:\abc\abc.sln”无法转换,因为它无法修改。要转换解决方案,请更改解决方案文件的权限以允许修改并重新打开它”
What permissions do I need on this?
我需要什么权限?
回答by jussij
Make sure the sln solution file is not marked as read only.
确保 sln 解决方案文件未标记为只读。
回答by splattne
If I correctly interpret your question, you should check if your current Windows account has the NTFS (file system) permission to modifythe solution file (.sln). Check the security settings in Windows Explorer right clicking on that file to ensure that you have write access to it.
如果我正确解释了您的问题,您应该检查您当前的 Windows 帐户是否具有修改解决方案文件 (.sln)的NTFS(文件系统)权限。检查 Windows 资源管理器中的安全设置,右键单击该文件以确保您对其具有写访问权限。
I would also check if the file is not write protected(checkbox on file properties in Windows Explorer).
我还会检查文件是否没有写保护(Windows 资源管理器中文件属性的复选框)。

