Skip to content

Commit

Permalink
Enable AOT
Browse files Browse the repository at this point in the history
  • Loading branch information
voroninp committed Nov 13, 2024
1 parent 92e1d5a commit ced76ec
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 117 deletions.
10 changes: 5 additions & 5 deletions DutchVerbs.Spa/DutchVerbs.Spa.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<PublishTrimmed>true</PublishTrimmed>
<RunAOTCompilation>false</RunAOTCompilation>
<RunAOTCompilation>true</RunAOTCompilation>
<NoWarn>CS1998;NU1803;NU1902;NU1903;NU1302</NoWarn>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<WasmEnableSIMD>false</WasmEnableSIMD>
Expand All @@ -20,12 +20,12 @@
<ItemGroup>
<PackageReference Include="BlazorBeforeUnload" Version="1.*" />
<PackageReference Include="Blazored.LocalStorage" Version="4.*" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.0-rc.2.24474.3" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.0-rc.2.24474.3" PrivateAssets="all" />
<PackageReference Include="Microsoft.Extensions.Localization" Version="9.0.0-rc.2.24474.3" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.Extensions.Localization" Version="9.0.0" />
<PackageReference Include="Microsoft.Web.LibraryManager.Build" Version="2.*" />
<PackageReference Include="System.Private.Uri" Version="4.3.2" />
<PackageReference Include="System.Text.Json" Version="9.0.0-rc.2.24473.5" />
<PackageReference Include="System.Text.Json" Version="9.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion DutchVerbs.Spa/Infrastructure/SerializerContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
namespace DutchVerbs.Spa.Infrastructure;

[JsonSerializable(typeof(ApplicationStateDto))]
[JsonSerializable(typeof(object))]
[JsonSourceGenerationOptions(WriteIndented = true)]
public sealed partial class SourceGenerationContext : JsonSerializerContext
{
Expand Down
Loading

0 comments on commit ced76ec

Please sign in to comment.