summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/Documentation.targets12
-rw-r--r--tools/DotNetOpenAuth.Common.Settings.targets16
-rw-r--r--tools/DotNetOpenAuth.Versioning.targets12
-rw-r--r--tools/JavascriptPacker.targets4
-rw-r--r--tools/Publish.targets6
-rw-r--r--tools/sandcastle.targets102
6 files changed, 77 insertions, 75 deletions
diff --git a/tools/Documentation.targets b/tools/Documentation.targets
index cd73784..e677c49 100644
--- a/tools/Documentation.targets
+++ b/tools/Documentation.targets
@@ -2,14 +2,14 @@
<PropertyGroup>
<NetfxVer>2.0</NetfxVer>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <ProjectRoot Condition="'$(ProjectRoot)' == ''">$(MSBuildProjectDirectory)\..\..</ProjectRoot>
+ <ProjectRoot Condition="'$(ProjectRoot)' == ''">$(MSBuildProjectDirectory)\..\..\</ProjectRoot>
<OutputAssembly>DotNetOpenAuth</OutputAssembly>
- <OutputPath>$(ProjectRoot)\bin\$(Configuration)</OutputPath>
- <DocOutputPath>$(ProjectRoot)\doc</DocOutputPath>
- <IntermediatePath>$(ProjectRoot)\obj\$(Configuration)</IntermediatePath>
- <DocumentationFile>$(OutputPath)\$(OutputAssembly).xml</DocumentationFile>
+ <OutputPath>$(ProjectRoot)bin\$(Configuration)\</OutputPath>
+ <DocOutputPath>$(ProjectRoot)doc\</DocOutputPath>
+ <IntermediatePath>$(ProjectRoot)obj\$(Configuration)\</IntermediatePath>
+ <DocumentationFile>$(OutputPath)$(OutputAssembly).xml</DocumentationFile>
</PropertyGroup>
- <Import Project="$(ProjectRoot)\Tools\sandcastle.targets" />
+ <Import Project="$(ProjectRoot)Tools\sandcastle.targets" />
</Project>
diff --git a/tools/DotNetOpenAuth.Common.Settings.targets b/tools/DotNetOpenAuth.Common.Settings.targets
index 363fd27..34e14f5 100644
--- a/tools/DotNetOpenAuth.Common.Settings.targets
+++ b/tools/DotNetOpenAuth.Common.Settings.targets
@@ -2,18 +2,18 @@
<PropertyGroup>
<ProductName>DotNetOpenAuth</ProductName>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <ProjectRoot Condition="'$(ProjectRoot)' == ''">$(MSBuildProjectDirectory)</ProjectRoot>
- <DropsRoot>$(ProjectRoot)\drops\$(Configuration)\</DropsRoot>
- <OutputPath>$(ProjectRoot)\bin\$(Configuration)\</OutputPath>
- <DocOutputPath>$(ProjectRoot)\doc\</DocOutputPath>
- <IntermediatePath>$(ProjectRoot)\obj\$(Configuration)\</IntermediatePath>
- <ToolsDir>$(ProjectRoot)\tools\</ToolsDir>
- <PublicKeyFile>$(ProjectRoot)\src\official-build-key.pub</PublicKeyFile>
+ <ProjectRoot Condition="'$(ProjectRoot)' == ''">$(MSBuildProjectDirectory)\</ProjectRoot>
+ <DropsRoot>$(ProjectRoot)drops\$(Configuration)\</DropsRoot>
+ <OutputPath>$(ProjectRoot)bin\$(Configuration)\</OutputPath>
+ <DocOutputPath>$(ProjectRoot)doc\</DocOutputPath>
+ <IntermediatePath>$(ProjectRoot)obj\$(Configuration)\</IntermediatePath>
+ <ToolsDir>$(ProjectRoot)tools\</ToolsDir>
+ <PublicKeyFile>$(ProjectRoot)src\official-build-key.pub</PublicKeyFile>
<KeyPairContainer Condition="'$(KeyPairContainer)' == ''">DotNetOpenAuth</KeyPairContainer>
<PublicKeyToken>2780CCD10D57B246</PublicKeyToken>
</PropertyGroup>
- <Import Project="$(ProjectRoot)\lib\DotNetOpenAuth.BuildTasks.targets" />
+ <Import Project="$(ProjectRoot)lib\DotNetOpenAuth.BuildTasks.targets" />
<Target Name="InitializeProps">
<CheckAdminRights>
diff --git a/tools/DotNetOpenAuth.Versioning.targets b/tools/DotNetOpenAuth.Versioning.targets
index 65d212c..0d74d8d 100644
--- a/tools/DotNetOpenAuth.Versioning.targets
+++ b/tools/DotNetOpenAuth.Versioning.targets
@@ -3,15 +3,15 @@
<!-- Import this .targets file to automatically generate AssemblyVersion
attribute according to DotNetOpenAuth convention. -->
<PropertyGroup>
- <ProjectRoot Condition="'$(ProjectRoot)' == ''">$(MSBuildProjectDirectory)\..\..</ProjectRoot>
- <VersionCsFile>$(ProjectRoot)\obj\$(Configuration)\$(AssemblyName).Version.cs</VersionCsFile>
+ <ProjectRoot Condition="'$(ProjectRoot)' == ''">$(MSBuildProjectDirectory)\..\..\</ProjectRoot>
+ <VersionCsFile>$(ProjectRoot)obj\$(Configuration)\$(AssemblyName).Version.cs</VersionCsFile>
</PropertyGroup>
- <Import Project="$(ProjectRoot)\lib\DotNetOpenAuth.BuildTasks.targets" />
- <UsingTask AssemblyFile="$(ProjectRoot)\lib\MSBuild.Community.Tasks.dll" TaskName="AssemblyInfo"/>
+ <Import Project="$(ProjectRoot)lib\DotNetOpenAuth.BuildTasks.targets" />
+ <UsingTask AssemblyFile="$(ProjectRoot)lib\MSBuild.Community.Tasks.dll" TaskName="AssemblyInfo"/>
<Target Name="GetBuildVersion">
- <GetBuildVersion VersionFile="$(ProjectRoot)\src\version.txt" Condition=" '$(BuildVersion)' == '' ">
+ <GetBuildVersion VersionFile="$(ProjectRoot)src\version.txt" Condition=" '$(BuildVersion)' == '' ">
<Output TaskParameter="Version" PropertyName="BuildVersion" />
</GetBuildVersion>
<Message Text="Building version $(BuildVersion)"/>
@@ -21,7 +21,7 @@
<PropertyGroup>
<NewVersionCsFile>$(VersionCsFile).new</NewVersionCsFile>
</PropertyGroup>
- <MakeDir Directories="$(ProjectRoot)\obj\$(Configuration)"/>
+ <MakeDir Directories="$(ProjectRoot)obj\$(Configuration)"/>
<AssemblyInfo OutputFile="$(NewVersionCsFile)" CodeLanguage="C#" AssemblyVersion="$(BuildVersion)" />
<!-- Avoid applying the newly generated AssemblyInfo.cs file to the build
unless it has changed in order to allow for incremental building. -->
diff --git a/tools/JavascriptPacker.targets b/tools/JavascriptPacker.targets
index e1a3a8c..2640fd5 100644
--- a/tools/JavascriptPacker.targets
+++ b/tools/JavascriptPacker.targets
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
<PropertyGroup>
- <ProjectRoot Condition="'$(ProjectRoot)' == ''">$(MSBuildProjectDirectory)\..\..</ProjectRoot>
+ <ProjectRoot Condition="'$(ProjectRoot)' == ''">$(MSBuildProjectDirectory)\..\..\</ProjectRoot>
</PropertyGroup>
- <Import Project="$(ProjectRoot)\lib\DotNetOpenAuth.BuildTasks.targets" />
+ <Import Project="$(ProjectRoot)lib\DotNetOpenAuth.BuildTasks.targets" />
<PropertyGroup>
<PackJs Condition="'$(PackJs)' == '' and '$(Configuration)' == 'Release'">true</PackJs>
diff --git a/tools/Publish.targets b/tools/Publish.targets
index 036e751..abdaf39 100644
--- a/tools/Publish.targets
+++ b/tools/Publish.targets
@@ -26,9 +26,9 @@
<Error Text="The BranchName property must be set." Condition=" '$(BranchName)' == '' " />
<ItemGroup>
- <_SampleWebConfigs Include="$(ProjectRoot)\samples\*\web.config" />
+ <_SampleWebConfigs Include="$(ProjectRoot)samples\*\web.config" />
<PublishableWebSamples Include="@(_SampleWebConfigs->'%(RootDir)%(Directory)')" />
- <SampleSources Include="$(ProjectRoot)\samples\**\*" />
+ <SampleSources Include="$(ProjectRoot)samples\**\*" />
<SampleSources>
<PublishedLocation>$(SampleWebRoot)\$(BranchName)\%(RecursiveDir)%(Filename)%(Extension)</PublishedLocation>
</SampleSources>
@@ -69,7 +69,7 @@
<Target Name="PrepareForPublishDocumentation" DependsOnTargets="Documentation">
<ItemGroup>
- <DocSources Include="$(ProjectRoot)\doc\api\**\*" />
+ <DocSources Include="$(ProjectRoot)doc\api\**\*" />
<DocTargets Include="@(DocSources->'$(DocWebRoot)\$(BranchName)\%(RecursiveDir)%(Filename)%(Extension)')" />
</ItemGroup>
</Target>
diff --git a/tools/sandcastle.targets b/tools/sandcastle.targets
index afdc77b..d0f9527 100644
--- a/tools/sandcastle.targets
+++ b/tools/sandcastle.targets
@@ -3,32 +3,34 @@
<PropertyGroup>
<PresentationStyle Condition="'$(PresentationStyle)' == ''">vs2005</PresentationStyle>
<!-- Environment -->
- <ProjectRoot Condition="'$(ProjectRoot)' == ''">$(MSBuildProjectDirectory)\..\..</ProjectRoot>
+ <ProjectRoot Condition="'$(ProjectRoot)' == ''">$(MSBuildProjectDirectory)\..\..\</ProjectRoot>
<Framework>$(WINDIR)\Microsoft.NET\Framework\v2.0.50727</Framework>
- <DxRoot>$(ProjectRoot)\tools\Sandcastle</DxRoot>
- <ProductionTools>$(DxRoot)\ProductionTools</ProductionTools>
- <ProductionTransforms>$(DxRoot)\ProductionTransforms</ProductionTransforms>
- <Presentation>$(DxRoot)\Presentation\$(PresentationStyle)</Presentation>
+ <DxRoot>$(ProjectRoot)tools\Sandcastle\</DxRoot>
+ <ProductionTools>$(DxRoot)ProductionTools\</ProductionTools>
+ <ProductionTransforms>$(DxRoot)ProductionTransforms\</ProductionTransforms>
+ <Presentation>$(DxRoot)Presentation\$(PresentationStyle)\</Presentation>
<HHC>$(PROGRAMFILES)\Html Help Workshop\hhc.exe</HHC>
- <OutputAssemblyFile>$(OutputPath)\$(OutputAssembly).dll</OutputAssemblyFile>
+ <OutputAssemblyFile>$(OutputPath)$(OutputAssembly).dll</OutputAssemblyFile>
- <DocOutputApiPath>$(DocOutputPath)\api</DocOutputApiPath>
- <DocIntermediatePath>$(ProjectRoot)\obj\Doc\$(Configuration)</DocIntermediatePath>
- <FxReflectionIntermediatePath>$(ProjectRoot)\obj\Doc\Tmp</FxReflectionIntermediatePath>
- <FxReflectionOutputPath>$(ProjectRoot)\obj\Doc\Reflection</FxReflectionOutputPath>
- <ChmDir>$(DocIntermediatePath)\chm</ChmDir>
+ <DocOutputApiPath>$(DocOutputPath)api\</DocOutputApiPath>
+ <DocIntermediatePath>$(ProjectRoot)obj\Doc\$(Configuration)\</DocIntermediatePath>
+ <FxReflectionIntermediatePath>$(ProjectRoot)obj\Doc\Tmp\</FxReflectionIntermediatePath>
+ <FxReflectionOutputPath>$(ProjectRoot)obj\Doc\Reflection\</FxReflectionOutputPath>
+ <ChmDir>$(DocIntermediatePath)chm</ChmDir>
<TocFile>$(ChmDir)\toc.xml</TocFile>
- <ChmFile>$(DocOutputPath)\$(OutputAssembly).chm</ChmFile>
- <HxtFile>$(DocOutputPath)\$(OutputAssembly).HxT</HxtFile>
- <HxsFile>$(DocOutputPath)\$(OutputAssembly).hxs</HxsFile>
- <HxcFile>$(DocOutputPath)\$(OutputAssembly).hxc</HxcFile>
+ <ChmFile>$(DocOutputPath)$(OutputAssembly).chm</ChmFile>
+ <HxtFile>$(DocOutputPath)$(OutputAssembly).HxT</HxtFile>
+ <HxsFile>$(DocOutputPath)$(OutputAssembly).hxs</HxsFile>
+ <HxcFile>$(DocOutputPath)$(OutputAssembly).hxc</HxcFile>
<HhkFile>$(chmDir)\$(OutputAssembly).hhk</HhkFile>
<HhpFile>$(chmDir)\$(OutputAssembly).hhp</HhpFile>
- <ReflectionFile>$(DocIntermediatePath)\reflection.xml</ReflectionFile>
- <ManifestFile>$(DocIntermediatePath)\manifest.xml</ManifestFile>
- <ReflectionBaseFile>$(DocIntermediatePath)\reflection_base.xml</ReflectionBaseFile>
+ <ReflectionFile>$(DocIntermediatePath)reflection.xml</ReflectionFile>
+ <ManifestFile>$(DocIntermediatePath)manifest.xml</ManifestFile>
+ <ReflectionBaseFile>$(DocIntermediatePath)reflection_base.xml</ReflectionBaseFile>
+
+ <SampleHtmlOutputForUpToDateCheck>$(DocOutputApiPath)html\N_DotNetOpenAuth.htm</SampleHtmlOutputForUpToDateCheck>
</PropertyGroup>
<ItemGroup>
@@ -54,7 +56,7 @@
<SetEnvironmentVariable Name="DxRoot" Value="$(DxRoot)" />
<SetEnvironmentVariable Name="DocumentationFile" Value="$(DocumentationFile)" />
<SetEnvironmentVariable Name="ReflectionXmlFile" Value="$(ReflectionFile)" />
- <SetEnvironmentVariable Name="OutputHtml" Value="$(DocOutputApiPath)\html" />
+ <SetEnvironmentVariable Name="OutputHtml" Value="$(DocOutputApiPath)html" />
<SetEnvironmentVariable Name="FxReflectionData" Value="$(FxReflectionOutputPath)" />
</Target>
@@ -66,54 +68,54 @@
</CreateItem>
<!--<Message Text="%(Assemblies.FullPath)" />-->
<Exec ContinueOnError="true" IgnoreExitCode="true"
- Command='"$(ProductionTools)\Mrefbuilder.exe" "%(Assemblies.FullPath)" /out:"$(FxReflectionIntermediatePath)\%(Assemblies.FileName).xml"' />
+ Command='"$(ProductionTools)Mrefbuilder.exe" "%(Assemblies.FullPath)" /out:"$(FxReflectionIntermediatePath)%(Assemblies.FileName).xml"' />
<Exec Condition="'$(PresentationStyle)' == 'prototype'" ContinueOnError="true" IgnoreExitCode="true"
- Command='"$(ProductionTools)\XslTransform.exe" /xsl:"$(ProductionTransforms)\ApplyPrototypeDocModel.xsl" /xsl:"$(ProductionTransforms)\AddGuidFilenames.xsl" "$(FxReflectionIntermediatePath)\%(Assemblies.FileName).xml" /out:"$(FxReflectionOutputPath)\%(Assemblies.FileName).xml" /arg:IncludeAllMembersTopic=false /arg:IncludeInheritedOverloadTopics=true' />
+ Command='"$(ProductionTools)XslTransform.exe" /xsl:"$(ProductionTransforms)ApplyPrototypeDocModel.xsl" /xsl:"$(ProductionTransforms)AddGuidFilenames.xsl" "$(FxReflectionIntermediatePath)%(Assemblies.FileName).xml" /out:"$(FxReflectionOutputPath)%(Assemblies.FileName).xml" /arg:IncludeAllMembersTopic=false /arg:IncludeInheritedOverloadTopics=true' />
<Exec Condition="'$(PresentationStyle)' == 'vs2005'" ContinueOnError="true" IgnoreExitCode="true"
- Command='"$(ProductionTools)\XslTransform.exe" /xsl:"$(ProductionTransforms)\ApplyVSDocModel.xsl" /xsl:"$(ProductionTransforms)\AddFriendlyFilenames.xsl" "$(FxReflectionIntermediatePath)\%(Assemblies.FileName).xml" /out:"$(FxReflectionOutputPath)\%(Assemblies.FileName).xml" /arg:IncludeAllMembersTopic=true /arg:IncludeInheritedOverloadTopics=true' />
+ Command='"$(ProductionTools)XslTransform.exe" /xsl:"$(ProductionTransforms)ApplyVSDocModel.xsl" /xsl:"$(ProductionTransforms)AddFriendlyFilenames.xsl" "$(FxReflectionIntermediatePath)%(Assemblies.FileName).xml" /out:"$(FxReflectionOutputPath)%(Assemblies.FileName).xml" /arg:IncludeAllMembersTopic=true /arg:IncludeInheritedOverloadTopics=true' />
<Exec Condition="'$(PresentationStyle)' == 'hana'" ContinueOnError="true" IgnoreExitCode="true"
- Command='"$(ProductionTools)\XslTransform.exe" /xsl:"$(ProductionTransforms)\ApplyVSDocModel.xsl" /xsl:"$(ProductionTransforms)\AddFriendlyFilenames.xsl" "$(FxReflectionIntermediatePath)\%(Assemblies.FileName).xml" /out:"$(FxReflectionOutputPath)\%(Assemblies.FileName).xml" /arg:IncludeAllMembersTopic=false /arg:IncludeInheritedOverloadTopics=true' />
+ Command='"$(ProductionTools)XslTransform.exe" /xsl:"$(ProductionTransforms)ApplyVSDocModel.xsl" /xsl:"$(ProductionTransforms)AddFriendlyFilenames.xsl" "$(FxReflectionIntermediatePath)%(Assemblies.FileName).xml" /out:"$(FxReflectionOutputPath)%(Assemblies.FileName).xml" /arg:IncludeAllMembersTopic=false /arg:IncludeInheritedOverloadTopics=true' />
</Target>
<ItemGroup>
- <IconFiles Include="$(Presentation)\icons\**\*.*"/>
- <ScriptFiles Include="$(Presentation)\scripts\**\*.*"/>
- <StyleFiles Include="$(Presentation)\styles\**\*.*"/>
- <IconDestFiles Include="@(IconFiles->'$(DocOutputApiPath)\icons\%(RecursiveDir)%(FileName)%(Extension)')"/>
- <ScriptDestFiles Include="@(ScriptFiles->'$(DocOutputApiPath)\scripts\%(RecursiveDir)%(FileName)%(Extension)')"/>
- <StyleDestFiles Include="@(StyleFiles->'$(DocOutputApiPath)\styles\%(RecursiveDir)%(FileName)%(Extension)')"/>
+ <IconFiles Include="$(Presentation)icons\**\*.*"/>
+ <ScriptFiles Include="$(Presentation)scripts\**\*.*"/>
+ <StyleFiles Include="$(Presentation)styles\**\*.*"/>
+ <IconDestFiles Include="@(IconFiles->'$(DocOutputApiPath)icons\%(RecursiveDir)%(FileName)%(Extension)')"/>
+ <ScriptDestFiles Include="@(ScriptFiles->'$(DocOutputApiPath)scripts\%(RecursiveDir)%(FileName)%(Extension)')"/>
+ <StyleDestFiles Include="@(StyleFiles->'$(DocOutputApiPath)styles\%(RecursiveDir)%(FileName)%(Extension)')"/>
</ItemGroup>
<Target Name="Template">
<Copy SourceFiles="@(IconFiles)" DestinationFiles="@(IconDestFiles)" SkipUnchangedFiles="true"/>
<Copy SourceFiles="@(ScriptFiles)" DestinationFiles="@(ScriptDestFiles)" SkipUnchangedFiles="true"/>
<Copy SourceFiles="@(StyleFiles)" DestinationFiles="@(StyleDestFiles)" SkipUnchangedFiles="true"/>
- <MakeDir Directories="$(DocOutputApiPath)\html;$(DocOutputApiPath)\media;$(DocOutputApiPath)\intellisense"/>
+ <MakeDir Directories="$(DocOutputApiPath)html;$(DocOutputApiPath)media;$(DocOutputApiPath)intellisense"/>
</Target>
<Target Name="ReflectionBase" Inputs="$(OutputAssemblyFile)" Outputs="$(ReflectionBaseFile)"
DependsOnTargets="SetEnvironmentVars;CreateIntermediatePath;ProductionTools">
- <Exec Command='"$(ProductionTools)\MRefBuilder.exe" "$(OutputAssemblyFile)" /out:"$(ReflectionBaseFile)"' />
+ <Exec Command='"$(ProductionTools)MRefBuilder.exe" "$(OutputAssemblyFile)" /out:"$(ReflectionBaseFile)"' />
</Target>
<Target Name="ReflectionData" DependsOnTargets="FxReflection;ReflectionBase" Inputs="$(ReflectionBaseFile)" Outputs="$(ReflectionFile)">
- <Exec Condition="'$(PresentationStyle)' == 'prototype'" Command='"$(ProductionTools)\XslTransform.exe" /xsl:"$(ProductionTransforms)\ApplyPrototypeDocModel.xsl" /xsl:"$(ProductionTransforms)\AddGuidFilenames.xsl" "$(ReflectionBaseFile)" /out:"$(ReflectionFile)"' />
- <Exec Condition="'$(PresentationStyle)' == 'vs2005'" Command='"$(ProductionTools)\XslTransform.exe" /xsl:"$(ProductionTransforms)\ApplyVSDocModel.xsl" /xsl:"$(ProductionTransforms)\AddFriendlyFilenames.xsl" "$(ReflectionBaseFile)" /out:"$(ReflectionFile)" /arg:IncludeAllMembersTopic=true /arg:IncludeInheritedOverloadTopics=true' />
- <Exec Condition="'$(PresentationStyle)' == 'hana'" Command='"$(ProductionTools)\XslTransform.exe" /xsl:"$(ProductionTransforms)\ApplyVSDocModel.xsl" /xsl:"$(ProductionTransforms)\AddFriendlyFilenames.xsl" "$(ReflectionBaseFile)" /out:"$(ReflectionFile)" /arg:IncludeAllMembersTopic=false /arg:IncludeInheritedOverloadTopics=true' />
+ <Exec Condition="'$(PresentationStyle)' == 'prototype'" Command='"$(ProductionTools)XslTransform.exe" /xsl:"$(ProductionTransforms)ApplyPrototypeDocModel.xsl" /xsl:"$(ProductionTransforms)AddGuidFilenames.xsl" "$(ReflectionBaseFile)" /out:"$(ReflectionFile)"' />
+ <Exec Condition="'$(PresentationStyle)' == 'vs2005'" Command='"$(ProductionTools)XslTransform.exe" /xsl:"$(ProductionTransforms)ApplyVSDocModel.xsl" /xsl:"$(ProductionTransforms)AddFriendlyFilenames.xsl" "$(ReflectionBaseFile)" /out:"$(ReflectionFile)" /arg:IncludeAllMembersTopic=true /arg:IncludeInheritedOverloadTopics=true' />
+ <Exec Condition="'$(PresentationStyle)' == 'hana'" Command='"$(ProductionTools)XslTransform.exe" /xsl:"$(ProductionTransforms)ApplyVSDocModel.xsl" /xsl:"$(ProductionTransforms)AddFriendlyFilenames.xsl" "$(ReflectionBaseFile)" /out:"$(ReflectionFile)" /arg:IncludeAllMembersTopic=false /arg:IncludeInheritedOverloadTopics=true' />
</Target>
<Target Name="Manifest" DependsOnTargets="ReflectionData" Inputs="$(ReflectionFile)" Outputs="$(ManifestFile)">
- <Exec Command='"$(ProductionTools)\XslTransform.exe" /xsl:"$(ProductionTransforms)\ReflectionToManifest.xsl" "$(ReflectionFile)" /out:"$(ManifestFile)"' />
+ <Exec Command='"$(ProductionTools)XslTransform.exe" /xsl:"$(ProductionTransforms)ReflectionToManifest.xsl" "$(ReflectionFile)" /out:"$(ManifestFile)"' />
</Target>
<Target Name="Html"
Inputs="$(ManifestFile);$(ReflectionFile);$(DocumentationFile)"
- Outputs="$(DocOutputApiPath)\html\N_DotNetOpenAuth.htm"
+ Outputs="$(SampleHtmlOutputForUpToDateCheck)"
DependsOnTargets="SetEnvironmentVars;Template;Manifest">
- <Exec Command='"$(ProductionTools)\BuildAssembler.exe" /config:"$(Presentation)\configuration\sandcastle.config" "$(ManifestFile)"' />
+ <Exec Command='"$(ProductionTools)BuildAssembler.exe" /config:"$(Presentation)configuration\sandcastle.config" "$(ManifestFile)"' />
</Target>
- <Target Name="Chm" Inputs="$(DocOutputApiPath)\html\N_DotNetOpenAuth.htm;$(ReflectionFile)" Outputs="$(ChmFile)" DependsOnTargets="Html">
+ <Target Name="Chm" Inputs="$(SampleHtmlOutputForUpToDateCheck);$(ReflectionFile)" Outputs="$(ChmFile)" DependsOnTargets="Html">
<MakeDir Directories="$(chmDir)" Condition="!Exists('$(chmDir)')" />
<MakeDir Directories="$(chmDir)\Html" Condition="!Exists('$(chmDir)\Html')" />
<MakeDir Directories="$(chmDir)\Icons" Condition="!Exists('$(chmDir)\Icons')" />
@@ -121,20 +123,20 @@
<MakeDir Directories="$(chmDir)\Styles" Condition="!Exists('$(chmDir)\Styles')" />
<MakeDir Directories="$(chmDir)\Local" Condition="!Exists('$(chmDir)\Local')" />
- <Exec Condition="'$(PresentationStyle)' == 'prototype'" Command='"$(ProductionTools)\XslTransform.exe" /xsl:"$(ProductionTransforms)\CreatePrototypeToc.xsl" "$(ReflectionFile)" /out:"$(TocFile)"' />
- <Exec Condition="'$(PresentationStyle)' != 'prototype'" Command='"$(ProductionTools)\XslTransform.exe" /xsl:"$(ProductionTransforms)\CreateVSToc.xsl" "$(ReflectionFile)" /out:"$(TocFile)"' />
+ <Exec Condition="'$(PresentationStyle)' == 'prototype'" Command='"$(ProductionTools)XslTransform.exe" /xsl:"$(ProductionTransforms)CreatePrototypeToc.xsl" "$(ReflectionFile)" /out:"$(TocFile)"' />
+ <Exec Condition="'$(PresentationStyle)' != 'prototype'" Command='"$(ProductionTools)XslTransform.exe" /xsl:"$(ProductionTransforms)CreateVSToc.xsl" "$(ReflectionFile)" /out:"$(TocFile)"' />
<!--copy directories from hxs -->
<Copy SourceFiles="@(IconFiles)" DestinationFolder="$(chmDir)\icons\%(RecursiveDir)" SkipUnchangedFiles="true"/>
<Copy SourceFiles="@(ScriptFiles)" DestinationFolder="$(chmDir)\scripts\%(RecursiveDir)" SkipUnchangedFiles="true"/>
<Copy SourceFiles="@(StyleFiles)" DestinationFolder="$(chmDir)\styles\%(RecursiveDir)" SkipUnchangedFiles="true"/>
- <Exec Condition="Exists('$(chmDir)s\Local')" Command='xcopy.exe "$(chmDir)\Local\*" "$(chmDir)\Local\" /y /r'/>
+ <Exec Condition="Exists('$(chmDir)\Local')" Command='xcopy.exe "$(chmDir)\Local\*" "$(chmDir)\Local\" /y /r'/>
<!-- generate CHM-specific HTML and HH* files -->
- <Exec Command='"$(ProductionTools)\ChmBuilder.exe" /project:$(OutputAssembly) /html:"$(DocOutputApiPath)\html" /lcid:1033 /toc:"$(TocFile)" /out:"$(chmDir)"'/>
+ <Exec Command='"$(ProductionTools)ChmBuilder.exe" /project:$(OutputAssembly) /html:"$(DocOutputApiPath)html" /lcid:1033 /toc:"$(TocFile)" /out:"$(chmDir)"'/>
- <Exec Condition="'$(PresentationStyle)' == 'prototype'" Command='"$(ProductionTools)\XslTransform.exe" /xsl:"$(ProductionTransforms)\ReflectionToChmIndex.xsl" "$(ReflectionFile)" /out:"$(HhkFile)"' />
- <Exec Command='"$(ProductionTools)\DBCSFix.exe" /d:$(chmDir) /l:1033'/>
+ <Exec Condition="'$(PresentationStyle)' == 'prototype'" Command='"$(ProductionTools)XslTransform.exe" /xsl:"$(ProductionTransforms)ReflectionToChmIndex.xsl" "$(ReflectionFile)" /out:"$(HhkFile)"' />
+ <Exec Command='"$(ProductionTools)DBCSFix.exe" /d:$(chmDir) /l:1033'/>
<Exec Command='"$(HHC)" "$(HhpFile)"' IgnoreExitCode="true" />
@@ -143,16 +145,16 @@
<Target Name="HxS"
DependsOnTargets="Build"
- Inputs="$(DocOutputPath)\html\*.htm;$(TocFile)"
+ Inputs="$(DocOutputPath)html\*.htm;$(TocFile)"
Outputs="$(HxsFile)">
- <Copy SourceFiles="@(HxsFiles)" DestinationFiles="@(HxsFiles->'$(OutputPath)\%(RecursiveDir)%(FileName)%(Extension)')"/>
- <Exec Command='"$(DxRoot)\Presentation\shared\copyhavana.bat" $(OutputAssembly)' />
- <Exec Command='"$(ProductionTools)\XslTransform.exe" /xsl:"$(ProductionTransforms)\CreateHxc.xsl" "$(TocFile)" /arg:fileNamePrefix="$(OutputAssembly)" /out:"$(HxcFile)"' />
- <Exec Command='"$(ProductionTools)\XslTransform.exe" /xsl:"$(ProductionTransforms)\TocToHxSContents.xsl" "$(TocFile)" /out:"$(HxtFile)"' />
+ <Copy SourceFiles="@(HxsFiles)" DestinationFiles="@(HxsFiles->'$(OutputPath)%(RecursiveDir)%(FileName)%(Extension)')"/>
+ <Exec Command='"$(DxRoot)Presentation\shared\copyhavana.bat" $(OutputAssembly)' />
+ <Exec Command='"$(ProductionTools)XslTransform.exe" /xsl:"$(ProductionTransforms)CreateHxc.xsl" "$(TocFile)" /arg:fileNamePrefix="$(OutputAssembly)" /out:"$(HxcFile)"' />
+ <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" />
+ <MSBuild Projects="$(DxRoot)Source\build.proj" />
</Target>
</Project>