I will try to make it simple. I have a Nexus.sln solution file containing 3 projects. Dsl, DslPackage and NexusSetup. NexusSetup is dependent on Dsl and DslPackage. Dependencies are configured in the IDE in the Project Build Order; they are listed as Dsl, DslPackage, and NexusSetup. in the Dependencies section, NexsusSetup is dependent on Dsl and DslPackage. From the IDE, everyone is happy that they are building everything in the right order and succeeding.
from the command line
msbuild Nexus.sln
The Dslpackage project is never built.
Here is the nexus.sln file
Microsoft Visual Studio Solution File, Version 10.00 Format
Visual studio 2008
Project ("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dsl", "Dsl \ Dsl.csproj", "{BF42BD0F-8483-443E-8F1F-1A0599642B57}" EndProject Project ("{FAE04EC -11D3-BF4B-00C04F79EFBC} ") =" DslPackage "," DslPackage \ DslPackage.csproj "," {39171FE5-51EE-4CC4-BBEF-59D2F52C1532} "EndProject Project (" {FAE04EC0-301F4B3BC-11BC ") =" NexusSetup "," NexusSetup \ NexusSetup.csproj "," {C65D94D7-81FC-4DBE-9CB3-79384113C0DA} EndProject Global GlobalSection (TeamFoundationVersionControl) = preSolution SccNumberOfP4Ferd 4 4prpfdject4erpfdject4 = 4-8fp4fe4fd8fd8fd8fd8fp4f8fd8fp4f8f2f8fd8fd8fd8f8fd8fd8fd8fd8fd9 32DDF27D184C} SccTeamFoundationServer = http: //srvdeveltfs01.local: 8080 /SccLocalPath0 =. SccProjectUniqueName1 = Dsl \ Dsl.csproj SccProjectName1 = Dsl SccLocalPath1 = Dsl SccProjectUniqueName2 = DslPackage \ DslPackage.csproj SccProjectName2 = DslPackage SccLocalPath2 = DslPackage SccProjectUniqueName3 = NexusSetup \ NexusSetup.csproj SccProjectName3 = NexusSetup SccLocalPath3 = NexusSetup EndGlobalSection GlobalSection (SolutionConfigurationPlatforms) = preSolution Debug | Any CPU = Debugging | Any processor Release | Any CPU = Release | Any EndGlobalSection GlobalSection processor (ProjectConfigurationPlatforms) = postSolution {BF42BD0F-8483-443E-8F1F-1A0599642B57} .Debug | Any CPU.ActiveCfg = Debug | Any processor {BF42BD0F-8483-443E-8F1F-1A0599642B57} .Debug | Any CPU.Build.0 = Debugging | Any CPU {BF42BD0F-8483-443E-8F1F-1A0599642B57} .Release | Any CPU.ActiveCfg = Release | Any processor {BF42BD0F-8483-443E-8F1F-1A0599642B57} .Release | Any CPU.Build.0 = Release | Any CPU {39171FE5-51EE-4CC4-BBEF-59D2F52C1532} .Debug | Any CPU.ActiveCfg = Debug | Any processor {39171FE5-51EE-4CC4-BBEF-59D2F52C1532} .Debug | Any CPU.Build.0 = Debugging | Any CPU {39171FE5-51EE-4CC4-BBEF-59D2F52C1532} .Release | Any CPU.ActiveCfg = Release | Any CPU {39171FE5-51EE-4CC4-BBEF-59D2F52C1532} .Release | Any CPU.Build.0 = Release | Any CPU {C65D94D7-81FC-4DBE-9CB3-79384113C0DA} .Debug | Any CPU.ActiveCfg = Debug | Any processor {C65D94D7-81FC-4DBE-9CB3-79384113C0DA} .Debug | Any CPU.Build.0 = Debugging | Any CPU {C65D94D7-81FC-4DBE-9CB3-79384113C0DA} .Release | Any CPU.ActiveCfg = Release | Any processor EndGlobalSection GlobalSection (SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection (TextTemplating) = postSolution TextTemplating = 1 EndGlobalSection EndGlobal
Microsoft (R) 3.5.30729.4918
[Microsoft.NET Framework, 2.0.50727.4918]
Copyright (C) Microsoft Corporation 2007. .
7/29/2009 1:53:33 PM.
"c:\Source\AASDK\Common\Nexus\Nexus.sln" node 0 ( ). " | ".
"c:\Source\AASDK\Common\Nexus\Nexus.sln" (1) "c:\Source\AASDK\Common\Nexus\Dsl\Dsl.csproj" (2) node 0 ( ). . .
CoreCompile:
"CoreCompile", .
DSLToolsCreateProjectItemTemplates:
"DSLToolsCreateProjectItemTemplates", .
_CopyOutOfDateSourceItemsToOutputDirectory:
"_CopyOutOfDateSourceItemsToOutputDirectory", .
_CopyAppConfigFile:
"_CopyAppConfigFile", .
CopyFilesToOutputDirectory: Dsl β c:\Source\AASDK\Common\Nexus\Dsl\bin\Debug\FA.Nexus.Dsl.dll
Done Building Project "c:\Source\AASDK\Common\Nexus\Dsl\Dsl.csproj" ( ).
"c:\Source\AASDK\Common\Nexus\Nexus.sln" (1) "c:\Source\AASDK\Common\Nexus\NexusSetup\NexusSetup.csproj" (3) node 0 ( ).
"CopySetupFiles", .
c:\Source\AASDK\Common\Nexus\NexusSetup\Files.wxs(35): LGHT0100: "" "..\DslPackage\bin\Release\FA.Nexus.DslPackage.dll" .
c:\Source\AASDK\Common\Nexus\NexusSetup\Files.wxs(46): LGHT0100: 'File' '..\Dsl\bin\Release\FA.Nexus.Dsl.dll' .
c:\Source\AASDK\Common\Nexus\NexusSetup\Files.wxs(59): LGHT0100: 'File' 'SourceDir..\DslPackage\bin\Release\FA.Nexus.DslPackage.dll' .
c:\Source\AASDK\Common\Nexus\NexusSetup\Files.wxs(62): LGHT0100: "" "..\Dsl\bin\Release\FA.Nexus.Dsl.dll" .
c:\Source\AASDK\Common\Nexus\NexusSetup\Files.wxs(81): LGHT0100: 'File' '..\Dsl\bin\Release\GeneratedCode\ClassDiagramsSchema.xsd' .
Done Building Project "c:\Source\AASDK\Common\Nexus\NexusSetup\NexusSetup.csproj" ( ) - FAILED.
Done Building Project "c:\Source\AASDK\Common\Nexus\Nexus.sln" ( ) - FAILED.
FAILED.
"c:\Source\AASDK\Common\Nexus\Nexus.sln" ( ) (1) β "c:\Source\AASDK\Common\Nexus\NexusSetup\NexusSetup.csproj" ( ) (3) β ( ) β c:\Source\AASDK\Common\Nexus\NexusSetup\Files.wxs(35): LGHT0100: "" "..\DslPackage\bin\Release\FA.Nexus.DslPackage.dll" . c:\Source\AASDK\Common\Nexus\NexusSetup\Files.wxs(46): LGHT0100: 'File' '..\Dsl\bin\Release\FA.Nexus.Dsl.dll' . c:\Source\AASDK\Common\Nexus\NexusSetup\Files.wxs(59): LGHT0100: 'File' 'SourceDir..\DslPackage\bin\Release\FA.Nexus.DslPackage.dll' . c:\Source\AASDK\Common\Nexus\NexusSetup\Files.wxs(62): LGHT0100: "" "..\Dsl\bin\Release\FA.Nexus.Dsl.dll" . c:\Source\AASDK\Common\Nexus\NexusSetup\Files.wxs(81): LGHT0100: 'File' '..\Dsl\bin\Release\GeneratedCode\ClassDiagramsSchema.xsd' .
0 Warning(s)
5 Error(s)
00: 00: 02.23