diff --git a/.gitignore b/.gitignore
index 678ae179fb6..fdac10fee79 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,3 +19,7 @@ TestResult.xml
.vs/
/build-common/NHibernate.dev.props
/doc/reference/master.xml
+/doc/bin/
+/doc/obj/
+/Tools/bin/
+/Tools/obj/
diff --git a/Tools/actual_msbuild.cmd b/Tools/actual_msbuild.cmd
deleted file mode 100644
index 7596a39ba5b..00000000000
--- a/Tools/actual_msbuild.cmd
+++ /dev/null
@@ -1,11 +0,0 @@
-@echo off
-
-for /f "usebackq tokens=*" %%i in (`%~dp0\vswhere\2.1.4\tools\vswhere -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
- set InstallDir=%%i
-)
-
-if exist "%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" (
- "%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" %*
-) else (
- exit /b -1
-)
diff --git a/Tools/packages.csproj b/Tools/packages.csproj
index dd520651934..284acfacbb9 100644
--- a/Tools/packages.csproj
+++ b/Tools/packages.csproj
@@ -11,7 +11,6 @@
-
diff --git a/doc/.gitignore b/doc/.gitignore
deleted file mode 100644
index 7200cc50b8d..00000000000
--- a/doc/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-# doc-level .gitignore.
-
-NHibernate.shfbproj
diff --git a/doc/NHibernate.shfbproj.template b/doc/NHibernate.shfbproj
similarity index 63%
rename from doc/NHibernate.shfbproj.template
rename to doc/NHibernate.shfbproj
index de6d308eba5..ec0ca3101fb 100644
--- a/doc/NHibernate.shfbproj.template
+++ b/doc/NHibernate.shfbproj
@@ -1,4 +1,5 @@
-
+
+
Documentation
Documentation
Documentation
- ${doc.out.dir}
+ .NET Framework 4.6.1
+
NHibernateAPI
- HtmlHelp1x
+ HtmlHelp1
NHibernate
https://nhibernate.info
https://groups.google.com/group/nhibernate-development
nhibernate team
NHibernate API Reference
False
- ${project.version}
+ 1.0.0.0
-
-
+
+
-
+
diff --git a/doc/documentation.build b/doc/documentation.build
index 52cf503cd6d..07b93972175 100644
--- a/doc/documentation.build
+++ b/doc/documentation.build
@@ -42,15 +42,7 @@
-
-
-
-
-
-
-
-
-
+
@@ -65,8 +57,12 @@
API documentation is up to date, skipping generation step.
-
-
+
+
+
+
+
+
diff --git a/doc/reference/README.txt b/doc/reference/README.txt
index 0321acf9548..521f455d10a 100644
--- a/doc/reference/README.txt
+++ b/doc/reference/README.txt
@@ -22,8 +22,8 @@ the documentation. You don't need to download and install Saxon, its jars are
present in the repository.
You need HTML Help Workshop to build the CHM help file, and Sandcastle Help File
-Builder (SHFB - https://github.com/EWSoftware/SHFB) to build the HtmlHelp2 help
-file.
+Builder v2021.11.7.0 or later (SHFB - https://github.com/EWSoftware/SHFB) to
+build the HtmlHelp2 help file.
================================================================================
DocBook Quick Start