|
1 | | -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> |
| 1 | +<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')" /> |
2 | 3 | <PropertyGroup> |
3 | 4 | <!-- The configuration and platform will be used to determine which |
4 | 5 | assemblies to include from solution and project documentation |
|
7 | 8 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
8 | 9 | <SchemaVersion>2.0</SchemaVersion> |
9 | 10 | <ProjectGuid>{91f431cd-23fb-4ed4-a690-0344073c65f0}</ProjectGuid> |
10 | | - <SHFBSchemaVersion>1.8.0.0</SHFBSchemaVersion> |
| 11 | + <SHFBSchemaVersion>2017.9.26.0</SHFBSchemaVersion> |
11 | 12 | <!-- AssemblyName, Name, and RootNamespace are not used by SHFB but Visual |
12 | 13 | Studio adds them anyway --> |
13 | 14 | <AssemblyName>Documentation</AssemblyName> |
14 | 15 | <RootNamespace>Documentation</RootNamespace> |
15 | 16 | <Name>Documentation</Name> |
16 | 17 | <!-- SHFB properties --> |
17 | | - <OutputPath>${doc.out.dir}</OutputPath> |
| 18 | + <FrameworkVersion>.NET Framework 4.6.1</FrameworkVersion> |
| 19 | + <OutputPath></OutputPath> |
18 | 20 | <HtmlHelpName>NHibernateAPI</HtmlHelpName> |
19 | | - <HelpFileFormat>HtmlHelp1x</HelpFileFormat> |
| 21 | + <HelpFileFormat>HtmlHelp1</HelpFileFormat> |
20 | 22 | <CopyrightText>NHibernate</CopyrightText> |
21 | 23 | <CopyrightHref>https://nhibernate.info</CopyrightHref> |
22 | 24 | <FeedbackEMailAddress>https://groups.google.com/group/nhibernate-development</FeedbackEMailAddress> |
23 | 25 | <FeedbackEMailLinkText>nhibernate team</FeedbackEMailLinkText> |
24 | 26 | <HelpTitle>NHibernate API Reference</HelpTitle> |
25 | 27 | <IndentHtml>False</IndentHtml> |
26 | | - <HelpFileVersion>${project.version}</HelpFileVersion> |
| 28 | + <HelpFileVersion>1.0.0.0</HelpFileVersion> |
27 | 29 | <DocumentationSources> |
28 | | - <DocumentationSource sourceFile="${root.dir}/src/NHibernate/bin/${build.config}/net461/NHibernate.dll" /> |
29 | | - <DocumentationSource sourceFile="${root.dir}/src/NHibernate/bin/${build.config}/net461/Nhibernate.xml" /> |
| 30 | + <DocumentationSource sourceFile="../src/NHibernate/bin/$(Configuration)/net461/NHibernate.dll" /> |
| 31 | + <DocumentationSource sourceFile="../src/NHibernate/bin/$(Configuration)/net461/Nhibernate.xml" /> |
30 | 32 | </DocumentationSources> |
31 | 33 | </PropertyGroup> |
32 | 34 | <!-- There are no properties for these two groups but they need to appear in |
|
35 | 37 | </PropertyGroup> |
36 | 38 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
37 | 39 | </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)' != ''" /> |
38 | 44 | <!-- Import the SHFB build targets --> |
39 | | - <Import Project="$(SHFBROOT)\SandcastleHelpFileBuilder.targets" /> |
| 45 | + <Import Project="$(SHFBROOT)\SandcastleHelpFileBuilder.targets" Condition="'$(MSBuildRestoreSessionId)' == ''" /> |
40 | 46 | </Project> |
0 commit comments