去除TFS版本控制信息

爲了不對版本庫的影響,能夠本身離線的修改代碼,就要脫離TFS的管理,解決方案: 一、找到*.sln文件用文本打開,能夠找到: Global GlobalSection(SolutionConfigurationPlatforms) = preSolution   Debug|.NET = Debug|.NET   Debug|Any CPU = Debug|Any CPU Debug|Mixed Platforms = Debug|Mixed Platforms   DebugLocal|.NET = DebugLocal|.NET   DebugLocal|Any CPU = DebugLocal|Any CPU   DebugLocal|Mixed Platforms = DebugLocal|Mixed Platforms   Production|.NET = Production|.NET   Production|Any CPU = Production|Any CPU   Production|Mixed Platforms = Production|Mixed Platforms   Release|.NET = Release|.NET   Release|Any CPU = Release|Any CPU   Release|Mixed Platforms = Release|Mixed Platforms ……   EndGlobalSection EndGlobal 將全部這些內容刪除,而後修改解決方案的名稱,保存。

二、去掉項目中的.scc,.vssscc和.vspscc文件
三、去掉C#項目文件(.csproj)裏面幾行標籤:
SccProjectName = "SAK"   SccLocalPath = "SAK"   SccAuxPath = "SAK"   SccProvider = "SAK"   從新打開就能夠離線操做了 做者:gaobanana

聲明: 本文版權歸做者和博客園共有,歡迎轉載,但未經做者贊成必須保留此段聲明,且在文章頁面明顯位置給出原文鏈接,不然保留追究法律責任的權利。web

相關文章
相關標籤/搜索