Skip to content

Commit 392605b

Browse files
Add warning about dotnet pack and static assets (#16414)
* Add warning about dotnet pack and static assets * Update ui-class.md * Update ui-class.md * Update ui-class.md Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
1 parent 9ba1d87 commit 392605b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

aspnetcore/razor-pages/ui-class.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ To include companion assets as part of an RCL, create a *wwwroot* folder in the
8787

8888
When packing an RCL, all companion assets in the *wwwroot* folder are automatically included in the package.
8989

90+
Use the `dotnet pack` command rather than the NuGet.exe version `nuget pack`.
91+
9092
### Exclude static assets
9193

9294
To exclude static assets, add the desired exclusion path to the `$(DefaultItemExcludes)` property group in the project file. Separate entries with a semicolon (`;`).

0 commit comments

Comments
 (0)