Skip to content

Commit 72c87f3

Browse files
authored
Fix invalid XML in an example (#35028)
1 parent 90c2ee9 commit 72c87f3

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

aspnetcore/razor-pages/ui-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ To include TypeScript files in an RCL:
132132
* Include the TypeScript target as a dependency of the `PrepareForBuildDependsOn` target.
133133
* Remove the output in the `wwwroot folder`.
134134

135-
[!code-xml[](~/razor-pages/ui-class/remove.xml?highlight=6-10,14)]
135+
[!code-xml[](~/razor-pages/ui-class/remove.xml?highlight=5-9,13)]
136136

137137
### Consume content from a referenced RCL
138138

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
2-
<Project Sdk="Microsoft.NET.Sdk.Razor">
32

4-
<PropertyGroup>
5-
// Markup removed for brevity.
6-
<TypescriptOutDir>wwwroot</TypescriptOutDir>
7-
<PrepareForBuildDependsOn>
8-
CompileTypeScriptWithTSConfig;
9-
GetTypeScriptOutputForPublishing;$(PrepareForBuildDependsOn)
10-
</PrepareForBuildDependsOn>
11-
</PropertyGroup>
3+
<PropertyGroup>
4+
// Markup removed for brevity.
5+
<TypescriptOutDir>wwwroot</TypescriptOutDir>
6+
<PrepareForBuildDependsOn>
7+
CompileTypeScriptWithTSConfig;
8+
GetTypeScriptOutputForPublishing;$(PrepareForBuildDependsOn)
9+
</PrepareForBuildDependsOn>
10+
</PropertyGroup>
1211

13-
<ItemGroup>
14-
<Content Remove="wwwroot\{path-to-typescript-outputs}" />
15-
</ItemGroup>
12+
<ItemGroup>
13+
<Content Remove="wwwroot\{path-to-typescript-outputs}" />
14+
</ItemGroup>
1615

17-
</Project>
16+
</Project>

0 commit comments

Comments
 (0)