日期:2009-12-30  浏览次数:20393 次

自定义sln解决方案文件MyProject.sln将所要添加的项目文件全部放在MyProject下面即可,MyProject.sln文件如下:

  1. Microsoft Visual Studio Solution File, Format Version 10.00  
  2. # Visual Studio 2008  
  3. Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "MyProject", "MyProject\", "{7F362630-8FEF-435B-8037-FB98B1B1F0C8}"  
  4. EndProject  
  5. Global  
  6.  GlobalSection(SolutionConfigurationPlatforms) = preSolution  
  7.   Debug.NET = Debug.NET  
  8.   DebugAny CPU = DebugAny CPU  
  9.   DebugMixed Platforms = DebugMixed Platforms  
  10.   Release.NET = Release.NET  
  11.   ReleaseAny CPU = ReleaseAny CPU  
  12.   ReleaseMixed Platforms = ReleaseMixed Platforms  
  13.  EndGlobalSection  
  14.  GlobalSection(ProjectConfigurationPlatforms) = postSolution  
  15.   {7F362630-8FEF-435B-8037-FB98B1B1F0C8}.Debug.NET.ActiveCfg = DebugAny CPU  
  16.   {7F362630-8FEF-435B-8037-FB98B1B1F0C8}.DebugAny CPU.ActiveCfg = DebugAny CPU  
  17.   {7F362630-8FEF-435B-8037-FB98B1B1F0C8}.DebugAny CPU.Build.0 = DebugAny CPU  
  18.   {7F362630-8FEF-435B-8037-FB98B1B1F0C8}.DebugMixed Platforms.ActiveCfg = DebugAny CPU  
  19.   {7F362630-8FEF-435B-8037-FB98B1B1F0C8}.DebugMixed Platforms.Build.0 = DebugAny CPU  
  20.   {7F362630-8FEF-435B-8037-FB98B1B1F0C8}.Release.NET.ActiveCfg = ReleaseAny CPU  
  21.   {7F362630-8FEF-435B-8037-FB98B1B1F0C8}.ReleaseAny CPU.ActiveCfg = ReleaseAny CPU  
  22.   {7F362630-8FEF-435B-8037-FB98B1B1F0C8}.ReleaseAny CPU.Build.0 = ReleaseAny CPU  
  23.   {7F362630-8FEF-4