Skip to content

Commit b3bfc74

Browse files
committed
Explicitly specify FX version
1 parent bbbc2a2 commit b3bfc74

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/NHibernate.shfbproj

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0">
2+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
23
<PropertyGroup>
34
<!-- The configuration and platform will be used to determine which
45
assemblies to include from solution and project documentation
@@ -14,6 +15,7 @@
1415
<RootNamespace>Documentation</RootNamespace>
1516
<Name>Documentation</Name>
1617
<!-- SHFB properties -->
18+
<FrameworkVersion>.NET Framework 4.6.1</FrameworkVersion>
1719
<OutputPath></OutputPath>
1820
<HtmlHelpName>NHibernateAPI</HtmlHelpName>
1921
<HelpFileFormat>HtmlHelp1</HelpFileFormat>
@@ -35,6 +37,10 @@
3537
</PropertyGroup>
3638
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
3739
</PropertyGroup>
40+
<ItemGroup>
41+
<PackageReference Include="EWSoftware.SHFB.NETFramework" Version="4.8.0.2" />
42+
</ItemGroup>
43+
<Import Project="$(MSBuildToolsPath)\Microsoft.Common.targets" Condition="'$(MSBuildRestoreSessionId)' != ''" />
3844
<!-- Import the SHFB build targets -->
39-
<Import Project="$(SHFBROOT)\SandcastleHelpFileBuilder.targets" />
45+
<Import Project="$(SHFBROOT)\SandcastleHelpFileBuilder.targets" Condition="'$(MSBuildRestoreSessionId)' == ''" />
4046
</Project>

0 commit comments

Comments
 (0)