我的一个项目在 SourceSafe 下,我正在使用 VS2008。
最近我切换到SVN。我删除了所有 SS 相关文件并将源文件提交到 SVN。无论如何,当我打开我的解决方案时,我仍然会收到这个无害但令人讨厌的消息(见下图):
The source control provider associated with this solution could not be found. The projects will be treated as not under source control.
Do you want to permanently remove the source control bindings from the projects?
我多次回答是并保存了所有文件,我关闭了解决方案并重新打开它。我总是收到这个消息。
我在哪里可以手动删除那里留下的任何绑定(bind)?
最佳答案
您将需要触摸解决方案文件和解决方案中的每个项目文件。
在 .sln 文件中,您将看到以下需要删除的部分。
GlobalSection(SourceCodeControl) = preSolution
...
EndGlobalSection
在 .csproj 文件中,您将看到需要删除的以下行。
<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
关于visual-studio-2008 - 摆脱 SourceSafe 源代码控制,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5516214/