Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove guidance #30544

Merged
merged 2 commits into from
Oct 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions aspnetcore/blazor/host-and-deploy/webassembly.md
Original file line number Diff line number Diff line change
Expand Up @@ -703,18 +703,6 @@ To handle URL rewrites, add a `wwwroot/404.html` file with a script that handles

When using a project site instead of an organization site, update the `<base>` tag in `wwwroot/index.html`. Set the `href` attribute value to the GitHub repository name with a trailing slash (for example, `/my-repository/`). In the [SteveSandersonMS/BlazorOnGitHubPages GitHub repository](https://github.com/SteveSandersonMS/BlazorOnGitHubPages), the base `href` is updated at publish by the [`.github/workflows/main.yml` configuration file](https://github.com/SteveSandersonMS/BlazorOnGitHubPages/blob/master/.github/workflows/main.yml).

:::moniker range=">= aspnetcore-8.0"

Removing the .NET Intermediate Language (IL) for compiled methods after performing AOT compilation to WebAssembly (MSBuild property: `WasmStripILAfterAOT`) is ***not*** supported for GitHub Page hosting. Either remove the property or set its value to `false` in the project file:

```xml
<WasmStripILAfterAOT>false</WasmStripILAfterAOT>
```

For more information, see <xref:blazor/host-and-deploy/webassembly#trim-net-il-after-ahead-of-time-aot-compilation>.

:::moniker-end

> [!NOTE]
> The [SteveSandersonMS/BlazorOnGitHubPages GitHub repository](https://github.com/SteveSandersonMS/BlazorOnGitHubPages) isn't owned, maintained, or supported by the .NET Foundation or Microsoft.

Expand Down