Skip to content

Commit 1615db2

Browse files
committed
add missing markup /7
1 parent c352bfe commit 1615db2

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

aspnetcore/razor-pages/ui-class.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -134,16 +134,7 @@ To include TypeScript files in an RCL:
134134
<TypescriptOutDir>wwwroot</TypescriptOutDir>
135135
```
136136

137-
* Include the TypeScript target as a dependency of the `PrepareForBuildDependsOn` target by adding the following target inside of a `PropertyGroup` in the project file:
138-
139-
```xml
140-
<PrepareForBuildDependsOn>
141-
CompileTypeScript;
142-
GetTypeScriptOutputForPublishing;$(PrepareForBuildDependsOn)
143-
</PrepareForBuildDependsOn>
144-
```
145-
146-
* Add the following highlighted markup to the project file:
137+
* Remove the output in the `wwwroot folder` and include the TypeScript target as a dependency of the `PrepareForBuildDependsOn` target by adding the following target inside of a `PropertyGroup` in the project file:
147138

148139
[!code-xml[](~/razor-pages/ui-class/remove.xml?highlight=6-9,13)]
149140

0 commit comments

Comments
 (0)