summaryrefslogtreecommitdiffstats
path: root/tools/sandcastle.targets
diff options
context:
space:
mode:
Diffstat (limited to 'tools/sandcastle.targets')
-rw-r--r--tools/sandcastle.targets8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/sandcastle.targets b/tools/sandcastle.targets
index 8103a21..afdc77b 100644
--- a/tools/sandcastle.targets
+++ b/tools/sandcastle.targets
@@ -58,7 +58,7 @@
<SetEnvironmentVariable Name="FxReflectionData" Value="$(FxReflectionOutputPath)" />
</Target>
- <Target Name="FxReflection" Condition="!Exists('$(FxReflectionOutputPath)')">
+ <Target Name="FxReflection" DependsOnTargets="ProductionTools" Condition="!Exists('$(FxReflectionOutputPath)')">
<MakeDir Directories="$(FxReflectionIntermediatePath)" Condition="!Exists('$(FxReflectionIntermediatePath)')" />
<MakeDir Directories="$(FxReflectionOutputPath)" Condition="!Exists('$(FxReflectionOutputPath)')" />
<CreateItem Include="@(AssemblyFolders->'%(FullPath)')">
@@ -92,7 +92,7 @@
</Target>
<Target Name="ReflectionBase" Inputs="$(OutputAssemblyFile)" Outputs="$(ReflectionBaseFile)"
- DependsOnTargets="SetEnvironmentVars;CreateIntermediatePath">
+ DependsOnTargets="SetEnvironmentVars;CreateIntermediatePath;ProductionTools">
<Exec Command='"$(ProductionTools)\MRefBuilder.exe" "$(OutputAssemblyFile)" /out:"$(ReflectionBaseFile)"' />
</Target>
@@ -151,4 +151,8 @@
<Exec Command='"$(ProductionTools)\XslTransform.exe" /xsl:"$(ProductionTransforms)\TocToHxSContents.xsl" "$(TocFile)" /out:"$(HxtFile)"' />
<Exec Command='hxcomp.exe -p "$(HxcFile)"' IgnoreExitCode="true" />
</Target>
+
+ <Target Name="ProductionTools">
+ <MSBuild Projects="$(DxRoot)\Source\build.proj" />
+ </Target>
</Project>