summaryrefslogtreecommitdiffstats
path: root/tools/Documentation.targets
blob: db77f1e6e5cbf6cef17795094d5cf3b64462f096 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
	<PropertyGroup>
		<NetfxVer>4.5</NetfxVer>
		<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
		<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
		<ProjectRoot Condition="'$(ProjectRoot)' == ''">$(MSBuildProjectDirectory)\..\..\</ProjectRoot>
		<OutputAssembly>DotNetOpenAuth</OutputAssembly>
		<DocOutputPath>$(ProjectRoot)doc\</DocOutputPath>
		<DocumentationFile>$(OutputPath)$(ProductName).xml</DocumentationFile>
	</PropertyGroup>

	<Import Project="$(ProjectRoot)Tools\sandcastle.targets" />

	<Target Name="CollectMRefDependencies">
		<MSBuild
			Projects="@(ProductProjects)"
			Targets="ResolveAssemblyReferences"
			BuildInParallel="$(BuildInParallel)">
			<Output TaskParameter="TargetOutputs" ItemName="MRefDependencies" />
		</MSBuild>

		<MSBuild
			Projects="@(ProductProjects)"
			Targets="GetTargetPath"
			BuildInParallel="$(BuildInParallel)">
			<Output TaskParameter="TargetOutputs" ItemName="OutputAssemblyFiles"/>
		</MSBuild>
	</Target>

</Project>