Upgrade Sandcastle, and use its Nuget package.

This commit is contained in:
Sean Hall 2014-11-27 10:24:05 -06:00
Родитель 7e02154c39
Коммит eb9cd50ee6
7 изменённых файлов: 14 добавлений и 36 удалений

Просмотреть файл

@ -14,9 +14,8 @@
<Name>Documentation</Name>
<!-- SHFB properties -->
<SHFBSchemaVersion>1.8.0.3</SHFBSchemaVersion>
<SHFBSchemaVersion>1.9.9.0</SHFBSchemaVersion>
<HtmlHelpName>DTFAPI</HtmlHelpName>
<ProjectSummary></ProjectSummary>
<MissingTags>Namespace, TypeParameter</MissingTags>
<VisibleItems>InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, SealedProtected</VisibleItems>

Просмотреть файл

@ -23,13 +23,13 @@ Then, simply run `msbuild` from the root directory of your clone of the WiX Git
In order to fully build WiX, you must have the following Frameworks and SDKs installed:
<ul>
<li>The following components from the <a href="http://www.microsoft.com/en-us/download/details.aspx?id=3138" target="_blank">Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1</a>, and/or Visual Studio 2010 and/or Visual Studio 2012:</li>
<li>The following components from the <a href="http://www.microsoft.com/en-us/download/details.aspx?id=3138" target="_blank">Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1</a>, and/or Visual Studio 2010/2012/2013/2015:</li>
<li style="list-style: none; display: inline">
<ul>
<li>x86 and x64 compilers, headers and libraries</li>
<li><a href="http://msdn.microsoft.com/library/ms670169.aspx" target="_blank">HTML Help SDK 1.4</a> or higher [installed to Program Files or Program Files (x86)] (Note that this component is installed by default by Visual Studio 2013.)</li>
<li><a href="http://msdn.microsoft.com/library/ms670169.aspx" target="_blank">HTML Help SDK 1.4</a> or higher [installed to Program Files or Program Files (x86)] (Note that this component is installed by default by Visual Studio 2013/2015.)</li>
</ul>
</li>
</ul>
@ -38,17 +38,7 @@ To build Votive, you must have Visual Studio 2010 and the [Visual Studio 2010 SP
More information about the Visual Studio SDK can be found at the <a href="http://msdn.microsoft.com/en-us/vstudio/vextend.aspx" target="_blank">Visual Studio Extensibility Center</a>.
To install Votive on Visual Studio 2010, 2012, or 2013, you must have the Professional Edition or higher. The Express editions of Visual Studio do not support packages like Votive.
To build DTF help files, you need the following tools:
* [Sandcastle May 2008 Release](http://sandcastle.codeplex.com/releases/view/13873)
* [Sandcastle Help File Builder 1.8.0.3](http://shfb.codeplex.com/releases/view/29710)
The DTF help build process looks for these tools in an &quot;external&quot; directory parallel to the WiX &quot;src&quot; directory:
* Sandcastle: external\Sandcastle
* Sandcastle Help File Builder: external\SandcastleBuilder
To install Votive on Visual Studio 2010, 2012, or 2013, you must have the Professional Edition or higher. The Express editions of Visual Studio do not support packages like Votive until VS 2015.
To create a build that can be installed on different machines, create a new strong name key pair and point OFFICIAL\_WIX\_BUILD to it:

Просмотреть файл

@ -17,6 +17,7 @@
<PropertyGroup>
<AzureStorageBuildTasksPath>$(NugetPackageFolder)FireGiant.BuildTasks.AzureStorage.1.0.0.0\tools\</AzureStorageBuildTasksPath>
<ExtensionPackPath>$(NugetPackageFolder)MSBuild.Extension.Pack.1.2.0\lib\net40\</ExtensionPackPath>
<SHFBROOT>$(NugetPackageFolder)EWSoftware.SHFB.2014.11.22.0\Tools\</SHFBROOT>
<XunitPath>$(NugetPackageFolder)xunit.1.9.2\lib\net20\</XunitPath>
</PropertyGroup>
@ -28,10 +29,13 @@
================================================================================================
-->
<ItemGroup>
<RestoreNugetPackage Include="EWSoftware.SHFB">
<Version>2014.11.22.0</Version>
</RestoreNugetPackage>
<RestoreNugetPackage Include="FireGiant.BuildTasks.AzureStorage">
<Version>1.0.0.0</Version>
</RestoreNugetPackage>
<RestoreNugetPackage Include="MSBuild.Extension.Pack ">
<RestoreNugetPackage Include="MSBuild.Extension.Pack">
<Version>1.2.0</Version>
</RestoreNugetPackage>
<RestoreNugetPackage Include="xunit">

Просмотреть файл

@ -7,7 +7,7 @@
LICENSE.TXT at the root directory of the distribution.
</copyright>
-->
<Project DefaultTargets="RegisterStrongNameSkip" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="RegisterStrongNameSkip" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<Import Project="WixBuild.props" />
<!--

Просмотреть файл

@ -89,16 +89,6 @@
Condition="!Exists('$(HelpCompiler)')"
Text="$(HelpCompiler) does not exist. Please install the HTML Help Workshop that is part of the HTML Help SDK." />
<Error
Code="WIXBUILD005"
Condition=" '$(OFFICIAL_WIX_BUILD)'!='' and !Exists('$(SandcastlePath)')"
Text="Sandcastle is required on an official build. Install the Sandcastle Help File Builder that is available on CodePlex to get Sandcastle and Sandcastle Help File Builder." />
<Error
Code="WIXBUILD006"
Condition=" '$(OFFICIAL_WIX_BUILD)'!='' and !Exists('$(SandcastleHelpFileBuilderTargets)')"
Text="$(SandcastleHelpFileBuilderTargets) is required on an official build. Install the Sandcastle Help File Builder that is available on CodePlex." />
<Error
Code="WIXBUILD007"
Condition=" !Exists('$(XunitPath)xunit.dll') "

Просмотреть файл

@ -34,7 +34,7 @@
<WIX_EXTERNALROOT Condition="!HasTrailingSlash('$(WIX_EXTERNALROOT)')">$(WIX_EXTERNALROOT)\</WIX_EXTERNALROOT>
</PropertyGroup>
<Import Project="Nuget.targets"/>
<Import Project="Nuget.targets" />
<!-- Converts the VS-standard Debug and Release to the wix-standard debug and ship -->
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' or '$(Configuration)' == '' or '$(WixFlavor)' == 'debug' ">
@ -71,13 +71,7 @@
<HelpCompilerPath>$(ProgramFiles)\HTML Help Workshop</HelpCompilerPath>
<HelpCompiler>$(HelpCompilerPath)\hhc.exe</HelpCompiler>
<SandcastlePath>$(ProgramFiles)\Sandcastle\</SandcastlePath>
<SandcastleHelpFileBuilderTargets>$(SHFBROOT)\SandcastleHelpFileBuilder.targets</SandcastleHelpFileBuilderTargets>
<SHFBROOT Condition="!Exists('$(SandcastleHelpFileBuilderTargets)')">$(ProgramFiles)\EWSoftware\Sandcastle Help File Builder</SHFBROOT>
<SandcastleHelpFileBuilderTargets>$(SHFBROOT)\SandcastleHelpFileBuilder.targets</SandcastleHelpFileBuilderTargets>
<BuildSandcastleDocumentation Condition=" Exists('$(SandcastleHelpFileBuilderTargets)') and '$(Configuration)'=='Release' ">true</BuildSandcastleDocumentation>
<BuildSandcastleDocumentation Condition=" '$(BuildSandcastleDocumentation)'=='' and '$(Configuration)'=='Release' ">true</BuildSandcastleDocumentation>
<BuildSandcastleDocumentation Condition=" '$(BuildSandcastleDocumentation)'=='' ">false</BuildSandcastleDocumentation>
</PropertyGroup>
@ -263,6 +257,7 @@
<AssemblyOriginatorKeyFile>$(OFFICIAL_WIX_BUILD)</AssemblyOriginatorKeyFile>
<DelaySign>false</DelaySign>
<SignAssembly>true</SignAssembly>
<BuildSandcastleDocumentation>true</BuildSandcastleDocumentation>
</PropertyGroup>
<!-- StyleCop settings -->

Просмотреть файл

@ -12,5 +12,5 @@
<HtmlHelp1xCompilerPath>$(HelpCompilerPath)</HtmlHelp1xCompilerPath>
</PropertyGroup>
<Import Project="$(SandcastleHelpFileBuilderTargets)" />
<Import Project="$(SHFBROOT)SandcastleHelpFileBuilder.targets" />
</Project>