Visual Studio 2008 - 编辑项目解决方案文件以修复项目的目录结构

时间:2011-04-21 21:03:20

标签: visual-studio-2008 visual-sourcesafe directory-structure

VS2008或Source Safe搞乱了我在Source Safe上找到的程序的文件结构。目前,解决方案文件仅位于Documents and Settings \ mjones \ MyDocuments \ Visual Studio 2008 \ Projects \ SeminarMailings \ SeminarMailings \下,所有编码文件均位于COIN \ Development \ SeminarMailings \和Documents and Settings \ mjones \ MyDocuments \ Visual Studio下2008 \项目\ SeminarMailings \ SeminarMailings \发展\

问题: 如何通过将所有解决方案文件放在COIN和COIN \ SeminarMailings下的代码文件并删除其余文件夹(重复数据)来清理不必要的目录,以便如何编辑解决方案文件。

背景: 这是右窗口窗格中编码文件的当前目录结构:

Fixing VS2010 File Structure in Solution File

以下是我需要在VS2008下的文件解决方案中引用的文件。

Fixing VS2010 File Structure in Solution File

以下是解决方案文件的代码:

    Microsoft Visual Studio Solution File, Format Version 10.00
    # Visual Studio 2008
    Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "SeminarMailings",                        "..\..\..\..\..\..\Development\SeminarMailings", "{2951C6A1-AF82-40C6-9DD8-93E35E5135F6}"

ProjectSection(WebsiteProperties) = preProject
    SccProjectName = ""$/SeminarMailings.root/SeminarMailings", CKLAAAAA"
    SccAuxPath = ""
    SccLocalPath = "..\.."
    SccProvider = "MSSCCI:Microsoft Visual SourceSafe"
    TargetFramework = "3.5"
    Debug.AspNetCompiler.VirtualPath = "/SeminarMailings"
    Debug.AspNetCompiler.PhysicalPath = "..\..\..\..\..\..\Development\SeminarMailings\"
    Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\SeminarMailings\"
    Debug.AspNetCompiler.Updateable = "true"
    Debug.AspNetCompiler.ForceOverwrite = "true"
    Debug.AspNetCompiler.FixedNames = "false"
    Debug.AspNetCompiler.Debug = "True"
    Release.AspNetCompiler.VirtualPath = "/SeminarMailings"
    Release.AspNetCompiler.PhysicalPath = "..\..\..\..\..\..\Development\SeminarMailings\"
    Release.AspNetCompiler.TargetPath = "PrecompiledWeb\SeminarMailings\"
    Release.AspNetCompiler.Updateable = "true"
    Release.AspNetCompiler.ForceOverwrite = "true"
    Release.AspNetCompiler.FixedNames = "false"
    Release.AspNetCompiler.Debug = "False"
    VWDPort = "4951"
    DefaultWebSiteLanguage = "Visual C#"
        EndProjectSection
            EndProject

            Global
        GlobalSection(SourceCodeControl) = preSolution
    SccNumberOfProjects = 2
    SccProjectName0 = \u0022$/SeminarMailings.root/SeminarMailings\u0022,\u0020CKLAAAAA
    SccLocalPath0 = ..\\..\\..\\..\\..\\..
    SccProvider0 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
    SccProjectFilePathRelativizedFromConnection0 = Documents\u0020and\u0020Settings\\mjones\\My\u0020Documents\\Visual\u0020Studio\u00202008\\Projects\\SeminarMailings\\
    SccWebProject1 = true
    SccProjectUniqueName1 = ..\\..\\..\\..\\..\\..\\Development\\SeminarMailings
    SccLocalPath1 = ..\\..\\..\\..\\..\\..
    SccProjectFilePathRelativizedFromConnection1 = Development\\SeminarMailings\\
    SccProjectEnlistmentChoice1 = 2
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
    Debug|Any CPU = Debug|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
    {2951C6A1-AF82-40C6-9DD8-93E35E5135F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    {2951C6A1-AF82-40C6-9DD8-93E35E5135F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
    HideSolutionNode = FALSE
EndGlobalSection
    EndGlobal

欢迎任何建议!

感谢您的期待!

1 个答案:

答案 0 :(得分:1)

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "SeminarMailings",                        "..\..\..\..\..\..\Development\SeminarMailings", "{2951C6A1-AF82-40C6-9DD8-93E35E5135F6}"

ProjectSection(WebsiteProperties) = preProject
SccProjectName = ""$/SeminarMailings.root/SeminarMailings", CKLAAAAA"
SccAuxPath = ""
SccLocalPath = "..\.."
SccProvider = "MSSCCI:Microsoft Visual SourceSafe"
TargetFramework = "3.5"
Debug.AspNetCompiler.VirtualPath = "/SeminarMailings"
Debug.AspNetCompiler.PhysicalPath = "..\..\..\..\..\..\Development\SeminarMailings\"
Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\SeminarMailings\"
Debug.AspNetCompiler.Updateable = "true"
Debug.AspNetCompiler.ForceOverwrite = "true"
Debug.AspNetCompiler.FixedNames = "false"
Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.VirtualPath = "/SeminarMailings"
Release.AspNetCompiler.PhysicalPath = "..\..\..\..\..\..\Development\SeminarMailings\"
Release.AspNetCompiler.TargetPath = "PrecompiledWeb\SeminarMailings\"
Release.AspNetCompiler.Updateable = "true"
Release.AspNetCompiler.ForceOverwrite = "true"
Release.AspNetCompiler.FixedNames = "false"
Release.AspNetCompiler.Debug = "False"
VWDPort = "4951"
DefaultWebSiteLanguage = "Visual C#"
    EndProjectSection
        EndProject

        Global
    GlobalSection(SourceCodeControl) = preSolution
SccNumberOfProjects = 2
SccProjectName0 = \u0022$/SeminarMailings.root/SeminarMailings\u0022,\u0020CKLAAAAA
SccLocalPath0 = ..\\..\\..\\..\\..\\..
SccProvider0 = MSSCCI:Microsoft\u0020Visual\u0020SourceSafe
SccProjectFilePathRelativizedFromConnection0 = Documents\u0020and\u0020Settings\\mjones\\My\u0020Documents\\Visual\u0020Studio\u00202008\\Projects\\SeminarMailings\\
SccWebProject1 = true
SccProjectUniqueName1 = ..\\..\\..\\..\\..\\..\\Development\\SeminarMailings
SccLocalPath1 = ..\\..\\..\\..\\..\\..
SccProjectFilePathRelativizedFromConnection1 = Development\\SeminarMailings\\
SccProjectEnlistmentChoice1 = 2
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2951C6A1-AF82-40C6-9DD8-93E35E5135F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2951C6A1-AF82-40C6-9DD8-93E35E5135F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal