Skip to content

Commit 818b167

Browse files
committed
Temporarily set the "UsingBrowserRuntimeWorkload" MSBuild property
to false Since .NET 10 Preview 3, the runtime error: "[MONO] * Assertion at /.../method-builder-ilgen.c:631, condition `<disabled>' not met" occurs when the property is set to true.
1 parent 59cea6a commit 818b167

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CUIFlavoredPortfolioSite/CUIFlavoredPortfolioSite.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
-->
1616
<!--<InvariantGlobalization>true</InvariantGlobalization>-->
1717

18+
<!--
19+
Since .NET 10 Preview 3, we need to temporarily disable the "UsingBrowserRuntimeWorkload" setting
20+
to avoid the runtime error:
21+
"[MONO] * Assertion at /.../method-builder-ilgen.c:631, condition `<disabled>' not met"
22+
-->
23+
<UsingBrowserRuntimeWorkload>false</UsingBrowserRuntimeWorkload>
24+
1825
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
1926
</PropertyGroup>
2027

0 commit comments

Comments
 (0)