Skip to content

Commit 59cea6a

Browse files
committed
Temporarily set the "InvariantGlobalization" MSBuild property to false
Since .NET 10 Preview 3, the exception "ZLibException: The underlying compression routine could not be loaded correctly" occurs when the property is set to true.
1 parent 8377a34 commit 59cea6a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

CUIFlavoredPortfolioSite/CUIFlavoredPortfolioSite.csproj

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@
88
<Copyright>Copyright (C) J.Sakamoto</Copyright>
99
<PackageProjectUrl></PackageProjectUrl>
1010
<ImplicitUsings>enable</ImplicitUsings>
11-
<InvariantGlobalization>true</InvariantGlobalization>
11+
12+
<!--
13+
Since .NET 10 Preview 3, we need to temporarily disable the "InvariantGlobalization" setting
14+
to avoid the exception: "ZLibException: The underlying compression routine could not be loaded correctly."
15+
-->
16+
<!--<InvariantGlobalization>true</InvariantGlobalization>-->
17+
1218
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
1319
</PropertyGroup>
1420

0 commit comments

Comments
 (0)