This project has moved and is read-only. For the latest updates, please go here.
1

Closed

Patch for building xsddoc on Win7 32bit

description

Currently the build fails on 32bit systems since the program files folder doesn't have the "(x86)" suffix. The patch below uses the environment variable PROGRAMFILES to work around this problem.

-------------------------8<---------------8<------------------
diff -r 07aa3972c57e Source/XsdDocumentation.BuildComponents/XsdDocumentation.BuildComponents.csproj
--- a/Source/XsdDocumentation.BuildComponents/XsdDocumentation.BuildComponents.csproj Thu Apr 26 22:52:07 2012 -0700
+++ b/Source/XsdDocumentation.BuildComponents/XsdDocumentation.BuildComponents.csproj Fri May 18 15:04:42 2012 +0200
@@ -35,7 +36,7 @@
<ItemGroup>
 <Reference Include="BuildAssemblerLibrary">
   <SpecificVersion>False</SpecificVersion>
  • <HintPath>C:\Program Files (x86)\Sandcastle\ProductionTools\BuildAssemblerLibrary.dll</HintPath>
  • <HintPath>$(PROGRAMFILES)\Sandcastle\ProductionTools\BuildAssemblerLibrary.dll</HintPath>
    <Private>False</Private>
    </Reference>
    <Reference Include="System" />
    -------------------------8<---------------8<------------------
Closed Jan 6, 2013 at 12:13 AM by terrajobst
Thanks, I've fixed it differently, though:
<Reference Include="$(DXROOT)\ProductionTools\BuildAssemblerLibrary.dll">
  <Private>False</Private>
</Reference>
DXROOT is already defined by Sandcastle to point to its installation.

comments