Update Blazor linker docs to clarify that we always link on build (#15691)

pull/15821/head
Daniel Roth 2019-11-21 14:19:22 -08:00 committed by Luke Latham
parent 0f619eb471
commit d7f78987ab
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ By [Luke Latham](https://github.com/guardrex)
[!INCLUDE[](~/includes/blazorwasm-preview-notice.md)]
Blazor performs [Intermediate Language (IL)](/dotnet/standard/managed-code#intermediate-language--execution) linking during a Release build to remove unnecessary IL from the app's output assemblies.
Blazor performs [Intermediate Language (IL)](/dotnet/standard/managed-code#intermediate-language--execution) linking during a build to remove unnecessary IL from the app's output assemblies.
Control assembly linking using either of the following approaches:
@ -24,7 +24,7 @@ Control assembly linking using either of the following approaches:
## Disable linking with a MSBuild property
Linking is enabled by default in Release mode when an app is built, which includes publishing. To disable linking for all assemblies, set the `BlazorLinkOnBuild` MSBuild property to `false` in the project file:
Linking is enabled by default when an app is built, which includes publishing. To disable linking for all assemblies, set the `BlazorLinkOnBuild` MSBuild property to `false` in the project file:
```xml
<PropertyGroup>