Skip to content

Commit a3c897c

Browse files
authored
Updates
1 parent 797b221 commit a3c897c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • aspnetcore/blazor/host-and-deploy

aspnetcore/blazor/host-and-deploy/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Publishing the app triggers a [restore](/dotnet/core/tools/dotnet-restore) of th
6161

6262
When using the [`dotnet publish`](/dotnet/core/tools/dotnet-publish) command in a command shell to publish an app, the command generates the necessary files for deployment based on the current state of the project and places the files into the specified output folder. The command doesn't automatically clean the target folder before publishing the app.
6363

64-
To empty the target folder automatically before the app is published, add the following MSBuild target to the app's project file:
64+
To empty the target folder automatically before the app is published, add the following MSBuild target to the app's project file (`.csproj`) under the root `<Project>` element:
6565

6666
```xml
6767
<Target Name="_RemovePublishDirBeforePublishing" BeforeTargets="BeforePublish">

0 commit comments

Comments
 (0)