删除VS.net解决方案中的vss绑定信息

1。使用工具帮助清理:在网络上有相关的软件来帮你修改些配置文件的属性,使用简单,结果却不能令人满意,至少我用的这两个都不能完成工作,不过怎么也能帮上点忙吧(我使用的过程中出现异常)。我使用的是:“vss信息清除工具” 和 “SourceSafeBindingRemover”。
2。由于打开项目还是有错误,我再网上有寻找了手工解决方案:
       a.    在删除了解决方案目录、各个项目目录下的:
               mssccprj.scc 、工程名.vssscc、vssver.scc 、项目名.csproj.vspscc
       b.    再去每个项目文件 项目名.csproj 文件,我们可以在开头部分看到类似下面的代码:

            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"
        SccLocalPath = "SAK"
        SccAuxPath = "SAK"
        SccProvider = "SAK"
我满怀欣喜的再次打开解决方案,还有两个项目无法载入。-_-,因此我准备自己找。
3.修改解决方案文件sln
我在sln文件中无意间看到了下面这段
GlobalSection(SourceCodeControl) = preSolution
  SccNumberOfProjects = 10
  SccLocalPath0 = .
  CanCheckoutShared = false
  SolutionUniqueID = {2A537A3C-4C75-4F48-843F-0266AA767DF8}
  SccProjectUniqueName1 = bll//bll.csproj
  SccLocalPath1 = .
  CanCheckoutShared = false
  SccProjectFilePathRelativizedFromConnection1 = bll//
  SccProjectUniqueName2 = dal//dal.csproj
  SccLocalPath2 = .
  CanCheckoutShared = false
  SccProjectFilePathRelativizedFromConnection2 = dal//
  SccProjectUniqueName3 = doucments//doucments.csproj
  SccLocalPath3 = .
  CanCheckoutShared = false
  SccProjectFilePathRelativizedFromConnection3 = doucments//
  SccProjectUniqueName4 = resources//resources.csproj
  SccLocalPath4 = .
  CanCheckoutShared = false
  SccProjectFilePathRelativizedFromConnection4 = resources//
  SccProjectUniqueName5 = utils//utils.csproj
  SccLocalPath5 = .
  CanCheckoutShared = false
  SccProjectFilePathRelativizedFromConnection5 = utils//
  SccProjectUniqueName6 = http://localhost/cms/webs.csproj
  SccProjectName6 = /u0022$/cms/WEBS/u0022,/u0020XJAAAAAA
  SccLocalPath6 = webs
  CanCheckoutShared = false
  SccProjectEnlistmentChoice6 = 2
  SccProjectUniqueName7 = PGenerator//PGenerator.csproj
  SccLocalPath7 = .
  CanCheckoutShared = false
  SccProjectFilePathRelativizedFromConnection7 = PGenerator//
  SccProjectUniqueName8 = PGAnalysis//PGAnalysis.csproj
  SccLocalPath8 = .
  CanCheckoutShared = false
  SccProjectFilePathRelativizedFromConnection8 = PGAnalysis//
  SccProjectUniqueName9 = http://localhost/MonyBank/MonyBank.csproj
  SccProjectName9 = /u0022$/MonyBank/u0022,/u0020XCBAAAAA
  SccLocalPath9 = MonyBank
  CanCheckoutShared = false
  SccProjectEnlistmentChoice9 = 2
 EndGlobalSection
“SourceCodeControl”这个单词引起了我的注意,他不就是源码控制吗,我把这段从sln里面删除,再打开,正常了。

你可能感兴趣的:(ASP.NET,vss,工具,工作,网络,web,c)