mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 22:07:21 +00:00
Upgraded to .NET 10 (#1147)
This commit is contained in:
1 parent
faae2951f7
commit
fc7399e81b
327 files changed
+3059
-3049
No files matched your search
@@ -24,4 +24,15 @@
|
||||
<TrimmerRootAssembly Include="System.Collections.Immutable" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
Since .NET 10, Blazor carries some state of its own from the page into the circuit as JSON, the antiforgery
|
||||
token among it. It reads that state by reflection, too, and the trimmer removes the properties of the token,
|
||||
since nothing else reads them. The circuit then closes right after it started, and the window stays empty.
|
||||
Microsoft keeps these properties for Blazor WebAssembly only (dotnet/aspnetcore#64819), since it does not
|
||||
support trimming a Blazor Server app. Hence, we keep the whole assembly which holds the token.
|
||||
-->
|
||||
<ItemGroup>
|
||||
<TrimmerRootAssembly Include="Microsoft.AspNetCore.Components.Web" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in new issue
Block a user