Skip to content
This repository was archived by the owner on Apr 14, 2026. It is now read-only.

Commit 59f622b

Browse files
authored
workaround for SHFB bug in recent NET version (#58)
* Revert recent nuget updates * testing different shfb version * WIP
1 parent 6d64f0a commit 59f622b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/ApiDocumentation/ApiDocumentation.shfbproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
<SchemaVersion>2.0</SchemaVersion>
1414
<ProjectGuid>0d38b9f6-2433-453b-963f-a73964bf9f5d</ProjectGuid>
1515
<SHFBSchemaVersion>2017.9.26.0</SHFBSchemaVersion>
16+
<!-- Workaround for dotnet/msbuild behavior that can strip project properties
17+
when the build task tries to use the executing project instance. See
18+
https://github.com/EWSoftware/SHFB/issues/1146 -->
19+
<AlwaysLoadProject>True</AlwaysLoadProject>
1620
<!-- AssemblyName, Name, and RootNamespace are not used by SHFB but Visual Studio adds them anyway -->
1721
<AssemblyName>ApiDocumentation</AssemblyName>
1822
<RootNamespace>ApiDocumentation</RootNamespace>

0 commit comments

Comments
 (0)