0

마침내 내가 유지 관리해야 할 레거시 ASP.NET 프로젝트를 실행할 수있었습니다. 그것에 대한 질문과 임시 자동 응답은 here입니다.소스 제어 항목이 내 .sln 파일에 계속 추가되는 이유는 무엇입니까?

요약하면 .sln 파일에서 참조하는 TFS 파일과 섹션을 정리하는 것이 필요합니다.

는 후자에 관해서는, 나는 솔루션 (의 .sln) 파일에서 이러한 항목을 제거 :

SccProjectName = "SAK" 
SccAuxPath = "SAK" 
SccLocalPath = "SAK" 
SccProvider = "SAK" 

...하지만 내의 .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"항목이 다시 추가되고 어떻게 다시 발생하지 않도록 할 수 있습니까? 이 프로젝트는 소스 제어하에 있지 않습니다.

솔루션을 열면 "... 매핑을 찾을 수 없습니다 ... 일시적으로 연결이 끊어졌습니다 ..."라는 메시지가 나타납니다. 매핑이 필요하다고 생각하는 이유는 무엇입니까?

답변

1

프로젝트가있는 폴더가 TFS에 작업 영역으로 매핑됩니다. 파일을 이동하거나 작업 영역을 제거해야합니다. 그렇지 않으면 Visual Studio에서 소스 제어를 계속 추가합니다.

관련 문제