摆脱 SourceSafe 源代码控制
我的一个项目是在 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?
我多次回答“是”并保存了所有文件,然后我关闭了解决方案并重新打开它。我总是收到这个消息。 我可以在哪里手动删除留下的任何绑定?
One of my projects was under SourceSafe and I am using VS2008.
Recently I switched to SVN. I removed all SS related files and committed the source files into SVN. Anyway, when I open my solution I'm still getting this inoffensive but annoying message (see picture below):
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?
I answered multiple time Yes and saved all the files, the I closed the solution and reopen it. I always get this message.
Where can I manually remove any binding left there?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您将需要触摸解决方案文件和解决方案中的每个项目文件。
在 .sln 文件中,您将看到以下需要删除的部分。
在 .csproj 文件中,您将看到以下需要删除的行。
You will need to touch the solution file and each project file in the solution.
In the .sln file you will see the following section which needs to be removed.
In the .csproj file you will see the following lines which need to be removed.
查看解决方案文件 - 绑定将位于其中。您可能还想检查项目文件中是否有任何痕迹,但我认为它们都在解决方案中。
Have a look in the solution file - the bindings will be in there. You might want to check whether there are any vestiges in the project files as well, but I think they're all in the solution.
看看这个。它已经很旧了,但在之前的项目中它确实为我创造了奇迹。
除了上述内容之外,我还建议乔恩写的内容。打开一个新的解决方案,比较并检查并删除不需要的东西。
希望这有帮助。
Have a look at this. It is pretty old, but it has sure worked wonders for me in the previous project.
In addition to the above, I would suggest exactly what Jon wrote. Open a new solution, compare and check and remove the unwanted things.
Hope this helps.
我尝试了@Brian Gideon 提到的两个步骤,但问题仍然存在。我正在使用 Visual Studio 2012。
我去了这里,其中方法相同,只是增加了1-2个步骤。阅读此博客中的评论帮助我意识到更改 IDE - Visual Studio 2012 中的源代码管理设置。
如果您使用的是 Visual Studio 2012,这可能工作。
将当前源代码控制插件更改为
Visual Studio Team Foundation 服务器
I tried both the steps mentioned by @Brian Gideon BUT the problem was still there. I am using visual studio 2012.
I went here where the method was same with addition of 1-2 steps. Reading onto comments in this blog helped me to realize to change the source control setting in the IDE - Visual Studio 2012.
In case you are using Visual Studio 2012, this may work.
Change current source control plug-in to
Visual Studio Team Foundation Server