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

发布于 2024-11-02 12:01:53 字数 3456 浏览 5 评论 0原文

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\Projects\SeminarMailings\SeminarMailings\Development\

问题: 我将如何编辑解决方案文件,使其在清理不必要的目录时仍会加载,方法是将所有解决方案文件放在 COIN 下,将代码文件放在 COIN\SeminarMailings 下,并删除其余文件夹(重复数据)。

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

Fiding VS2010 File Structure in Solution File

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

修复解决方案文件中的 VS2010 文件结构

这是解决方案文件的代码:

    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

欢迎任何建议!

感谢您的关注!

Either VS2008 or Source Safe messed up the file structure for a program I found on Source Safe. Currently the solution files are only located under Documents and Settings\mjones\MyDocuments\Visual Studio 2008\Projects\SeminarMailings\SeminarMailings\ and all the coding files are under COIN\Development\SeminarMailings\ and Documents and Settings\mjones\MyDocuments\Visual Studio 2008\Projects\SeminarMailings\SeminarMailings\Development\

Question:
How would I edit the solution file in such a way that it will still load if clean up the unecessary directories by putting all the solution files under COIN and the code files under COIN\SeminarMailings and deleting the rest of the folders (duplicate data).

Background:
Here's the current directory structure w/ the coding files in the right window pane:

Fixing VS2010 File Structure in Solution File

Here are the files that I need references in the file's solution under VS2008.

Fixing VS2010 File Structure in Solution File

Here's the code for the 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

Any suggestions would be welcomed!

Thanks for looking!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

面犯桃花 2024-11-09 12:01:53
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
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
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文