Visual studio 2013 为什么源代码管理条目不断被添加回我的.sln文件?

Visual studio 2013 为什么源代码管理条目不断被添加回我的.sln文件?,visual-studio-2013,tfs,asp.net-3.5,source-control-bindings,sln-file,Visual Studio 2013,Tfs,Asp.net 3.5,Source Control Bindings,Sln File,我终于能够运行一个遗留的ASP.NET项目,我一直负责维护这个项目。关于它的一个问题和我的初步自动回答是 简而言之,要让它运行,我需要做的一件事似乎是清除TFS文件以及.sln文件中引用它们的部分 对于后者,我将从解决方案(.sln)文件中删除以下条目: …但由于某种原因,它们被添加了回去,因此my.sln再次包含它们,对于上下文/完整披露,它们是: Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Stud

我终于能够运行一个遗留的ASP.NET项目,我一直负责维护这个项目。关于它的一个问题和我的初步自动回答是

简而言之,要让它运行,我需要做的一件事似乎是清除TFS文件以及.sln文件中引用它们的部分

对于后者,我将从解决方案(.sln)文件中删除以下条目:

…但由于某种原因,它们被添加了回去,因此my.sln再次包含它们,对于上下文/完整披露,它们是:

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.40629.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "MembersOrderEntry", "MembersOrderEntry", "{7D7D3972-0891-4600-BCBC-

CA40B0D0FF6E}"
    ProjectSection(WebsiteProperties) = preProject
        SccProjectName = "SAK"
        SccAuxPath = "SAK"
        SccLocalPath = "SAK"
        SccProvider = "SAK"
        TargetFrameworkMoniker = ".NETFramework,Version%3Dv3.5"
        Debug.AspNetCompiler.VirtualPath = "/MembersOrderEntry"
        Debug.AspNetCompiler.PhysicalPath = "MembersOrderEntry\"
        Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\MembersOrderEntry\"
        Debug.AspNetCompiler.Updateable = "true"
        Debug.AspNetCompiler.ForceOverwrite = "true"
        Debug.AspNetCompiler.FixedNames = "false"
        Debug.AspNetCompiler.Debug = "True"
        Release.AspNetCompiler.VirtualPath = "/MembersOrderEntry"
        Release.AspNetCompiler.PhysicalPath = "MembersOrderEntry\"
        Release.AspNetCompiler.TargetPath = "PrecompiledWeb\MembersOrderEntry\"
        Release.AspNetCompiler.Updateable = "true"
        Release.AspNetCompiler.ForceOverwrite = "true"
        Release.AspNetCompiler.FixedNames = "false"
        Release.AspNetCompiler.Debug = "False"
        VWDPort = "2030"
        VWDDynamicPort = "false"
        SlnRelativePath = "MembersOrderEntry\"
        DefaultWebSiteLanguage = "Visual Basic"
    EndProjectSection
EndProject
Global
    GlobalSection(SolutionConfigurationPlatforms) = preSolution
        Debug|Any CPU = Debug|Any CPU
    EndGlobalSection
    GlobalSection(ProjectConfigurationPlatforms) = postSolution
        {7D7D3972-0891-4600-BCBC-CA40B0D0FF6E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {7D7D3972-0891-4600-BCBC-CA40B0D0FF6E}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {7D7D3972-0891-4600-BCBC-CA40B0D0FF6E}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
    EndGlobalSection
    GlobalSection(SolutionProperties) = preSolution
        HideSolutionNode = FALSE
    EndGlobalSection
EndGlobal
为什么要重新添加“SAK”条目,如何防止再次发生?此项目不受源代码管理


当我打开解决方案时,我看到一条消息说,“…找不到映射…暂时断开连接…”为什么它甚至希望找到映射?

项目所在的文件夹作为工作区映射到TFS。您将需要移动文件或删除工作区,否则Visual Studio将继续重新添加源代码管理。

我的CVS插件(非TFS)未处于活动状态(选择git进行源代码管理),VS2019将继续向项目添加“旧插件设置”。真烦人。改变我的项目所在的路径解决了这个问题,但经过三个小时的调试、黑客攻击、安装和卸载,我感到非常沮丧。。。。我担心这以后会再次伤害我。如果知道VS在哪里缓存这些信息,那就太好了。
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.40629.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "MembersOrderEntry", "MembersOrderEntry", "{7D7D3972-0891-4600-BCBC-

CA40B0D0FF6E}"
    ProjectSection(WebsiteProperties) = preProject
        SccProjectName = "SAK"
        SccAuxPath = "SAK"
        SccLocalPath = "SAK"
        SccProvider = "SAK"
        TargetFrameworkMoniker = ".NETFramework,Version%3Dv3.5"
        Debug.AspNetCompiler.VirtualPath = "/MembersOrderEntry"
        Debug.AspNetCompiler.PhysicalPath = "MembersOrderEntry\"
        Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\MembersOrderEntry\"
        Debug.AspNetCompiler.Updateable = "true"
        Debug.AspNetCompiler.ForceOverwrite = "true"
        Debug.AspNetCompiler.FixedNames = "false"
        Debug.AspNetCompiler.Debug = "True"
        Release.AspNetCompiler.VirtualPath = "/MembersOrderEntry"
        Release.AspNetCompiler.PhysicalPath = "MembersOrderEntry\"
        Release.AspNetCompiler.TargetPath = "PrecompiledWeb\MembersOrderEntry\"
        Release.AspNetCompiler.Updateable = "true"
        Release.AspNetCompiler.ForceOverwrite = "true"
        Release.AspNetCompiler.FixedNames = "false"
        Release.AspNetCompiler.Debug = "False"
        VWDPort = "2030"
        VWDDynamicPort = "false"
        SlnRelativePath = "MembersOrderEntry\"
        DefaultWebSiteLanguage = "Visual Basic"
    EndProjectSection
EndProject
Global
    GlobalSection(SolutionConfigurationPlatforms) = preSolution
        Debug|Any CPU = Debug|Any CPU
    EndGlobalSection
    GlobalSection(ProjectConfigurationPlatforms) = postSolution
        {7D7D3972-0891-4600-BCBC-CA40B0D0FF6E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {7D7D3972-0891-4600-BCBC-CA40B0D0FF6E}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {7D7D3972-0891-4600-BCBC-CA40B0D0FF6E}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
    EndGlobalSection
    GlobalSection(SolutionProperties) = preSolution
        HideSolutionNode = FALSE
    EndGlobalSection
EndGlobal