Skip to content

Commit d669eea

Browse files
docs(common): amend wasm workaround instructions
1 parent eb8c8f0 commit d669eea

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

_contentTemplates/common/issues-and-warnings.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,21 @@ Add a `Linker.xml` file to the `Client` project with the following content (make
3737
3838
#end
3939

40+
#linker-config
41+
Open the Client `.csproj` file and add the following configuration setting:
42+
43+
**.csproj**
44+
45+
<ItemGroup>
46+
<BlazorLinkerDescriptor Include="Linker.xml" />
47+
</ItemGroup>
48+
49+
#end
50+
4051
#more-on-linker
4152
You can read more about configuring the linker in MSDN: [https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/blazor/configure-linker?view=aspnetcore-3.0#control-linking-with-a-configuration-file](https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/blazor/configure-linker?view=aspnetcore-3.0#control-linking-with-a-configuration-file).
4253

43-
>caution Without such a linker configuration, the linker strips aggressively extension methods and this breaks our components.
54+
>caution Without such a linker configuration, the linker strips aggressively extension methods and this breaks our components.
4455
#end
4556

4657

getting-started/client-blazor.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ Now that you have a Blazor project running, it's time to [Add the Telerik compon
8989

9090
@[template](/_contentTemplates/common/get-started.md#telerik-main-container-snippet)
9191

92+
1. @[template](/_contentTemplates/common/issues-and-warnings.md#linker-config)
93+
9294
1. @[template](/_contentTemplates/common/issues-and-warnings.md#mono-linker-issue)
9395

9496
@[template](/_contentTemplates/common/issues-and-warnings.md#more-on-linker)

getting-started/what-you-need.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,12 @@ To allow working with detached popups (for example, dropdown lists, menus, grid
122122

123123
### Client-side Project Considerations
124124

125-
If you are using a **client-side Blazor** project,
126-
@[template](/_contentTemplates/common/issues-and-warnings.md#mono-linker-issue)
125+
If you are using a **client-side Blazor** project:
127126

128-
@[template](/_contentTemplates/common/issues-and-warnings.md#more-on-linker)
127+
1. @[template](/_contentTemplates/common/issues-and-warnings.md#linker-config)
128+
1. @[template](/_contentTemplates/common/issues-and-warnings.md#mono-linker-issue)
129+
130+
@[template](/_contentTemplates/common/issues-and-warnings.md#more-on-linker)
129131

130132
## See Also
131133

0 commit comments

Comments
 (0)