Skip to content

Ahead-of-time (AOT) compilation option needed #36

@ken-okabe

Description

@ken-okabe

From .NET 6.0, Ahead-of-time (AOT) compilation is supported.

Blazor WebAssembly supports ahead-of-time (AOT) compilation, where you can compile your .NET code directly into WebAssembly. AOT compilation results in runtime performance improvements at the expense of a larger app size.

https://docs.microsoft.com/en-us/aspnet/core/blazor/host-and-deploy/webassembly?view=aspnetcore-6.0#ahead-of-time-aot-compilation

Currently, I manually add the below to *.fspoj file, but I think it's very nice of Bolero Template to have the option to select true/false:

<PropertyGroup>
  <RunAOTCompilation>true</RunAOTCompilation>
</PropertyGroup>

Thanks for your work!

PS. I see .README.md is outdated for .NET SDK 5.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions