去除项目中的VSS源码管理
删除解决方案目录、各个项目目录下的:
mssccprj.scc 、工程名.vssscc、vssver.scc 、项目名.csproj.vspscc
再去每个项目文件 项目名.csproj 文件,用记事本或UltraEdit-32打开,我们可以在开头部分看到类似下面的代码:
<CSHARP
ProjectType = "Web"
ProductVersion = "7.10.3077"
SchemaVersion = "2.0"
ProjectGuid = "{2CBB68B7-FE78-4CEF-981B-6A0529A32889}"
SccProjectName = "SAK"
SccLocalPath = "SAK"
SccAuxPath = "SAK"
SccProvider = "SAK"
>
或者是
<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
删除下面的配置信息:
SccProjectName = "SAK"
SccLocalPath = "SAK"
SccAuxPath = "SAK"
SccProvider = "SAK"
或者
<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
-----------------------------------------------------------------------------------------------------------------------------------------
删除sln有关源码管理器的信息
GlobalSection(SourceCodeControl) = preSolution
SccNumberOfProjects = 2
SccLocalPath0 = .
CanCheckoutShared = false
SolutionUniqueID = {06C1856F-D6CD-44AE-BD3D-AED4B15E6CD1}
SccProjectUniqueName1 = TrialEOS.csproj
SccLocalPath1 = .
CanCheckoutShared = false
EndGlobalSection
OK!重新打开解决方案就可以了。
引用:http://hi.baidu.com/luoshupeng/item/748b69f30620b610d6ff8cfb