Skip to content

Commit

Permalink
#1 MSBuild command line does not respect solution build order depende…
Browse files Browse the repository at this point in the history
…ncies, so these are now added explicitly per project.
  • Loading branch information
thargy committed Aug 31, 2015
1 parent fb9bd54 commit f09dfa9
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 27 deletions.
25 changes: 0 additions & 25 deletions CoreLibraries.sln
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplications.Testing.Test", "Testing\WebApplications.Testing.Test\WebApplications.Testing.Test.csproj", "{CBE3CF94-6406-4EED-AADA-3E6B441B1DE3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplications.Utilities", "Utilities\WebApplications.Utilities.csproj", "{2931C698-6123-49BC-81FD-F72A4C1415EA}"
ProjectSection(ProjectDependencies) = postProject
{CA6C3C0E-96DB-4B74-A8E4-33ABA73D0553} = {CA6C3C0E-96DB-4B74-A8E4-33ABA73D0553}
{3626816D-EB33-4ED0-AF95-FD7CA6C6D99A} = {3626816D-EB33-4ED0-AF95-FD7CA6C6D99A}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplications.Utilities.BuildTasks", "Utilities\WebApplications.Utilities.BuildTasks\WebApplications.Utilities.BuildTasks.csproj", "{CA6C3C0E-96DB-4B74-A8E4-33ABA73D0553}"
EndProject
Expand All @@ -34,9 +30,6 @@ EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplications.Utilities.Cryptography.Test", "Cryptography\WebApplications.Utilities.Cryptography.Test\WebApplications.Utilities.Cryptography.Test.csproj", "{0A67DBB5-780E-4BC6-841E-E1B50309895D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplications.Utilities.Initializer", "Initializer\WebApplications.Utilities.Initializer.csproj", "{3626816D-EB33-4ED0-AF95-FD7CA6C6D99A}"
ProjectSection(ProjectDependencies) = postProject
{D45DFBAF-5019-4435-80FB-1FA2EC48F23A} = {D45DFBAF-5019-4435-80FB-1FA2EC48F23A}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplications.Utilities.Initializer.Test", "Initializer\WebApplications.Utilities.Initializer.Test\WebApplications.Utilities.Initializer.Test.csproj", "{1F4CFF76-3151-460B-B1A4-2E77EEF20029}"
EndProject
Expand All @@ -49,35 +42,20 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Targets", "Targets", "{E3E4
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplications.Utilities.Initializer.TestApp", "Initializer\WebApplications.Utilities.Initializer.TestApp\WebApplications.Utilities.Initializer.TestApp.csproj", "{B32CE846-8FAF-4B89-9A17-22B4427133C9}"
ProjectSection(ProjectDependencies) = postProject
{3626816D-EB33-4ED0-AF95-FD7CA6C6D99A} = {3626816D-EB33-4ED0-AF95-FD7CA6C6D99A}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplications.Utilities.Performance", "Performance\WebApplications.Utilities.Performance.csproj", "{04220E31-53F6-453F-80C5-0E2D49776D36}"
ProjectSection(ProjectDependencies) = postProject
{6F2B5D7A-E8B7-4820-9C39-30F722B0DB01} = {6F2B5D7A-E8B7-4820-9C39-30F722B0DB01}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplications.Utilities.Performance.Test", "Performance\WebApplications.Utilities.Performance.Test\WebApplications.Utilities.Performance.Test.csproj", "{2A45DCFA-A60C-4AE6-80E8-18D62D04E438}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplications.Utilities.Performance.Tools.PerfSetup", "Performance\WebApplications.Utilities.Performance.Tools.PerfSetup\WebApplications.Utilities.Performance.Tools.PerfSetup.csproj", "{6F2B5D7A-E8B7-4820-9C39-30F722B0DB01}"
ProjectSection(ProjectDependencies) = postProject
{D45DFBAF-5019-4435-80FB-1FA2EC48F23A} = {D45DFBAF-5019-4435-80FB-1FA2EC48F23A}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ILMerge.Build.Task", "ILMerge\ILMerge.Build.Task.csproj", "{D45DFBAF-5019-4435-80FB-1FA2EC48F23A}"
ProjectSection(ProjectDependencies) = postProject
{CA6C3C0E-96DB-4B74-A8E4-33ABA73D0553} = {CA6C3C0E-96DB-4B74-A8E4-33ABA73D0553}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplications.Utilities.Serialization", "Serialization\WebApplications.Utilities.Serialization.csproj", "{686798D4-CC9C-460F-937F-28933CC53E09}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplications.Utilities.Serialization.Test", "Serialization\Utilities.Serialization.Test\WebApplications.Utilities.Serialization.Test.csproj", "{D118B240-3DCE-46E3-A721-751B60E003B1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplications.Utilities.Logging", "Logging\WebApplications.Utilities.Logging.csproj", "{0EBA7604-0BDB-438E-967F-7DFE93E6ABD5}"
ProjectSection(ProjectDependencies) = postProject
{3626816D-EB33-4ED0-AF95-FD7CA6C6D99A} = {3626816D-EB33-4ED0-AF95-FD7CA6C6D99A}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplications.Utilities.Logging.Test", "Logging\WebApplications.Utilities.Logging.Test\WebApplications.Utilities.Logging.Test.csproj", "{4B05B106-0F92-46D0-B129-107D0D05F48A}"
EndProject
Expand All @@ -92,9 +70,6 @@ EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplications.Utilities.Database.Test", "Database\WebApplications.Utilities.Database.Test\WebApplications.Utilities.Database.Test.csproj", "{8C6554DF-D0FE-48B5-B487-19882850AC69}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplications.Utilities.Service", "Service\WebApplications.Utilities.Service.csproj", "{B580A145-6DE0-45D4-B4B6-924A52BF10B7}"
ProjectSection(ProjectDependencies) = postProject
{839D6111-FFE7-4498-928C-75054DE61CE9} = {839D6111-FFE7-4498-928C-75054DE61CE9}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplications.Utilities.Service.Common", "Service\WebApplications.Utilities.Service.Common\WebApplications.Utilities.Service.Common.csproj", "{B365AD50-598A-4D1B-8656-1F0F8ADCDBC8}"
EndProject
Expand Down
7 changes: 7 additions & 0 deletions ILMerge/ILMerge.Build.Task.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@
<None Include="app.config" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Utilities\WebApplications.Utilities.BuildTasks\WebApplications.Utilities.BuildTasks.csproj">
<Project>{ca6c3c0e-96db-4b74-a8e4-33aba73d0553}</Project>
<Name>WebApplications.Utilities.BuildTasks</Name>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
<Compile Include="ModuleInitializer.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\WebApplications.Utilities.Initializer.csproj">
<Project>{3626816d-eb33-4ed0-af95-fd7ca6c6d99a}</Project>
<Name>WebApplications.Utilities.Initializer</Name>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<PropertyGroup>
<InjectModuleInitializerTool>$(SolutionDir)bin\WebApplications.Utilities.Initializer.dll</InjectModuleInitializerTool>
</PropertyGroup>
Expand Down
8 changes: 7 additions & 1 deletion Initializer/WebApplications.Utilities.Initializer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,16 @@
<Visible>False</Visible>
</RootBinPath>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ILMerge\ILMerge.Build.Task.csproj">
<Project>{d45dfbaf-5019-4435-80fb-1fa2ec48f23a}</Project>
<Name>ILMerge.Build.Task</Name>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<Target Name="CopyToRoot" AfterTargets="AfterBuild;SignOutput">
<Copy SourceFiles="$(MergedOutputFile)" DestinationFiles="@(RootBinPath)" />
</Target>

<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
Expand Down
5 changes: 5 additions & 0 deletions Logging/WebApplications.Utilities.Logging.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Initializer\WebApplications.Utilities.Initializer.csproj">
<Project>{3626816d-eb33-4ed0-af95-fd7ca6c6d99a}</Project>
<Name>WebApplications.Utilities.Initializer</Name>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\Performance\WebApplications.Utilities.Performance.csproj">
<Project>{04220e31-53f6-453f-80c5-0e2d49776d36}</Project>
<Name>WebApplications.Utilities.Performance</Name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<MergedOutputFileName>PerfSetup32.exe</MergedOutputFileName>
<Platform>x86</Platform>
<Platform>x86</Platform>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -145,6 +145,13 @@
<Visible>False</Visible>
</RootBinPath>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\ILMerge\ILMerge.Build.Task.csproj">
<Project>{d45dfbaf-5019-4435-80fb-1fa2ec48f23a}</Project>
<Name>ILMerge.Build.Task</Name>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<Target Name="CopyToRoot" AfterTargets="AfterBuild;SignOutput">
<Copy SourceFiles="$(MergedOutputFile)" DestinationFolder="$(SolutionDir)bin" />
</Target>
Expand Down
5 changes: 5 additions & 0 deletions Performance/WebApplications.Utilities.Performance.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@
<Project>{2931c698-6123-49bc-81fd-f72a4c1415ea}</Project>
<Name>WebApplications.Utilities</Name>
</ProjectReference>
<ProjectReference Include="WebApplications.Utilities.Performance.Tools.PerfSetup\WebApplications.Utilities.Performance.Tools.PerfSetup.csproj">
<Project>{6f2b5d7a-e8b7-4820-9c39-30f722b0db01}</Project>
<Name>WebApplications.Utilities.Performance.Tools.PerfSetup</Name>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
10 changes: 10 additions & 0 deletions Service/WebApplications.Utilities.Service.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,16 @@
<Project>{2931c698-6123-49bc-81fd-f72a4c1415ea}</Project>
<Name>WebApplications.Utilities</Name>
</ProjectReference>
<ProjectReference Include="ServiceClient\ServiceClient.csproj">
<Project>{12fe7e65-e744-4f7f-a7eb-608249c75235}</Project>
<Name>ServiceClient</Name>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="WebApplications.Utilities.Service.Client\WebApplications.Utilities.Service.Client.csproj">
<Project>{839d6111-ffe7-4498-928c-75054de61ce9}</Project>
<Name>WebApplications.Utilities.Service.Client</Name>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="WebApplications.Utilities.Service.Common\WebApplications.Utilities.Service.Common.csproj">
<Project>{b365ad50-598a-4d1b-8656-1f0f8adcdbc8}</Project>
<Name>WebApplications.Utilities.Service.Common</Name>
Expand Down
7 changes: 7 additions & 0 deletions Utilities/WebApplications.Utilities.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,13 @@
<LastGenOutput>Funcs.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Initializer\WebApplications.Utilities.Initializer.csproj">
<Project>{3626816d-eb33-4ed0-af95-fd7ca6c6d99a}</Project>
<Name>WebApplications.Utilities.Initializer</Name>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<PropertyGroup>
<InjectModuleInitializerTool>$(SolutionDir)bin\WebApplications.Utilities.Initializer.dll</InjectModuleInitializerTool>
</PropertyGroup>
Expand Down

0 comments on commit f09dfa9

Please sign in to comment.