|
1 | 1 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
2 | 2 | <Import Project="$(MSBuildProjectDirectory)\tools\DotNetOpenAuth.automated.props"/> |
3 | | - <PropertyGroup> |
4 | | - </PropertyGroup> |
5 | | - |
6 | | - <Import Project="$(ProjectRoot)tools\Documentation.targets"/> |
7 | 3 | <Import Project="$(ProjectRoot)tools\Publish.targets"/> |
8 | 4 | <Import Project="$(ProjectRoot)tools\Translation.targets"/> |
9 | 5 |
|
10 | 6 | <ItemGroup> |
11 | | - <SampleProjects Include="$(ProjectRoot)samples\**\*.csproj;$(ProjectRoot)samples\**\*.vbproj" /> |
12 | | - <SampleSites Include="OAuthConsumer;OAuthServiceProvider;InfoCardRelyingParty" /> |
13 | 7 | <ProjectsToClean Include=" |
14 | 8 | $(SolutionPath); |
15 | 9 | vsi\vsi.proj; |
|
38 | 32 | <RemoveDir Directories="@(DirtyDirectories)" /> |
39 | 33 | </Target> |
40 | 34 |
|
41 | | - <Target Name="SkipVerification" Condition="'$(IsElevated)' == 'true'"> |
42 | | - <SignatureVerification SkipVerification="true" AssemblyName="*" PublicKeyToken="$(PublicKeyToken)" /> |
43 | | - </Target> |
44 | | - |
45 | | - <Target Name="BuildProduct" DependsOnTargets="SkipVerification"> |
46 | | - <MSBuild Projects="$(ProjectRoot)src\$(ProductName)\$(ProductName).csproj" BuildInParallel="$(BuildInParallel)" /> |
47 | | - </Target> |
48 | | - |
49 | 35 | <Target Name="BuildTests" DependsOnTargets="SkipVerification"> |
50 | 36 | <MSBuild Projects="$(SolutionPath)" Targets="DotNetOpenAuth_Test;DotNetOpenAuth_TestWeb" BuildInParallel="$(BuildInParallel)" /> |
51 | 37 | </Target> |
52 | 38 |
|
53 | | - <Target Name="BuildSamples" DependsOnTargets="SkipVerification"> |
54 | | - <MSBuild Projects="@(SampleProjects)" BuildInParallel="$(BuildInParallel)" /> |
55 | | - <MSBuild Projects="$(SolutionPath)" Targets="@(SampleSites)" BuildInParallel="$(BuildInParallel)" /> |
56 | | - </Target> |
57 | | - |
58 | 39 | <Target Name="Build" DependsOnTargets="SkipVerification"> |
59 | 40 | <MSBuild Projects="$(SolutionPath)" BuildInParallel="$(BuildInParallel)" /> |
60 | 41 | </Target> |
|
110 | 91 | ZipLevel="$(ZipLevel)" /> |
111 | 92 | </Target> |
112 | 93 |
|
113 | | - <Target Name="Documentation" DependsOnTargets="BuildProduct;Chm" Condition="'$(NoDocumentation)' != 'true'"> |
114 | | - </Target> |
115 | | - |
116 | 94 | <Target Name="Test" DependsOnTargets="BuildTests" |
117 | 95 | Inputs="$(OutputPath)$(ProductName).Test.dll" |
118 | 96 | Outputs='$(OutputPath)Test-result.xml'> |
|
126 | 104 | ExcludeCategory="$(NUnitExcludeCategories)"/> |
127 | 105 | </Target> |
128 | 106 |
|
129 | | - <Target Name="DropLayout" DependsOnTargets="BuildUnifiedProduct;ReSignDelaySignedAssemblies;BuildSamples;vsi;vsix;Documentation"> |
| 107 | + <Target Name="DropLayout" DependsOnTargets="BuildUnifiedProduct;ReSignDelaySignedAssemblies"> |
| 108 | + <!-- Note that we use an MSBuild task for these dependencies rather than individual DependsOnTargets entries |
| 109 | + so that these builds can be executed in parallel. --> |
| 110 | + <MSBuild BuildInParallel="$(BuildInParallel)" |
| 111 | + Projects=" |
| 112 | + samples\samples.proj; |
| 113 | + vsi\vsi.proj; |
| 114 | + vsix\vsix.proj; |
| 115 | + doc\doc.proj; |
| 116 | + " /> |
130 | 117 | <PropertyGroup> |
131 | 118 | <DropBinDirectory>$(DropDirectory)Bin\</DropBinDirectory> |
132 | 119 | <DropLibDirectory>$(DropDirectory)Lib\</DropLibDirectory> |
|
251 | 238 |
|
252 | 239 | </Target> |
253 | 240 |
|
254 | | - <Import Project="$(ProjectRoot)DotNetOpenAuth.automated.targets"/> |
| 241 | + <Import Project="$(ProjectRoot)tools\DotNetOpenAuth.automated.targets"/> |
255 | 242 | </Project> |
0 commit comments