Visual Studio 2008 - 编辑项目解决方案文件以修复项目的目录结构
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 下,并删除其余文件夹(重复数据)。
背景: 以下是右侧窗口窗格中的当前目录结构以及编码文件:
以下是我需要在VS2008下的文件解决方案中引用的文件。
这是解决方案文件的代码:
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:
Here are the files that I need references in the file's solution under VS2008.
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)