Update static-files.md

pull/33711/head
Rick Anderson 2024-09-25 08:43:56 -10:00 committed by GitHub
parent 8f2c47bc17
commit b74e269e87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ To ensure assets from `wwwroot-custom` are returned, use one of the following ap
* Delete duplicate named assets in `wwwroot`.
* Set `"ASPNETCORE_ENVIRONMENT"` in `Properties/launchSettings.json` to any value other than `"Development"`.
* Completely disable static web assets by setting `<StaticWebAssetsEnabled>false</StaticWebAssetsEnabled>` in the project file. ***WARNING, disabling static web assets disables [Razor Class Libraries](xref:razor-pages/ui-class)***.
* Add the following JSON to the project file:
* Add the following XML to the project file:
```xml
<ItemGroup>