English 中文(简体)
我如何从2010年视觉演播室C#项目/解决方案中去除TFS的链接?
原标题:How do I remove TFS connections from a Visual Studio 2010 C# project/solution?

我获得了在当地开展工作的全源代码(C#.NET/XAML/Visualroom,2010年),但我没有机会进入TFS。

每当我打开解决办法时,我总是要求我必须取消的TFS,但现在从这里开始在当地制定该守则,我无法进入。

我如何有效地从这一建筑中“脱节”TFS?

最佳回答

您可以选择脱机工作,也可以选择不合并项目:

文献和数据; 来源控制

问题回答

File>Source Control>Change Source Control...>Unbind

Beaten to it...

If solution is already unbound (which happens sometimes), you can simply open the solution file, or the project file in notepad, and delete information regarding connecting to TFS.

In solution files (.sln files) for example, you might see information like this:

GlobalSection(TeamFoundationVersionControl) = preSolution
    SccNumberOfProjects = 4
    SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
    SccTeamFoundationServer = https://nemati.visualstudio.com/defaultcollection
    SccLocalPath0 = .
    SccProjectUniqueName1 = ..\Framework\Framework\Framework.csproj
    SccProjectName1 = ../Framework/Framework
    SccLocalPath1 = ..\Framework\Framework
    SccProjectUniqueName2 = Website\Phis.csproj
    SccProjectName2 = Website
    SccLocalPath2 = Website
    SccProjectUniqueName3 = Tests\Tests.csproj
    SccProjectName3 = Tests
    SccLocalPath3 = Tests
EndGlobalSection

Just read it, and you ll understand what it says. Very simple, self-descriptive and self-explanatory. Just delete this section and reopen your solution.

我所发现的最佳途径是。 工具与方案; 然后,根据左手菜选择“Source Control

参看“Current source control plug-in:>down menu on the righthand. 选择“None,请在不开放项目的情况下这样做。

Doing it this way makes it easy if you ever wanted to learn TFS.





相关问题
Why not use TFS as a build / CI solution?

Currently our build solution is set up using TFS + MS Build scripts. TFS is also being used as a CI server. I ve seen several posts on this site telling people about other CI solutions. Are there ...

Get files from TFS under Linux [closed]

is there a free (command line) tool for linux which with I can get all files from a TFS-Repository (no Check in / Check out required - only get actual version)?

upgrading tfs 2008 sp1 to use sql server 2008

I have an instance of tfs 2008 supported by sql server 2005. I want to change the sql server machine by doing a restore based move. I also want to change the version of sql server to 2008. I know ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

TFSReg in 2010 Beta 2?

does anybody know what is the equivalent of the TFSReg.exe command-line tool in 2010 Beta 2? I cannot find it anywhere, I searched the entire Program Files tree. Was it renamed? Moved? Replaced by ...

热门标签