From 068f699de1cebaa53945a26afc6343ee292ecba7 Mon Sep 17 00:00:00 2001 From: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> Date: Wed, 7 Feb 2024 16:48:26 -1000 Subject: [PATCH] RCL, adding static web assets --- aspnetcore/razor-pages/ui-class.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aspnetcore/razor-pages/ui-class.md b/aspnetcore/razor-pages/ui-class.md index 0c2717c2c1..d4dc461aeb 100644 --- a/aspnetcore/razor-pages/ui-class.md +++ b/aspnetcore/razor-pages/ui-class.md @@ -102,6 +102,10 @@ When packing an RCL, all companion assets in the `wwwroot` folder are automatica Use the `dotnet pack` command rather than the NuGet.exe version `nuget pack`. +### Add client web assets to the build process + +Integrating client web assets into the build pipeline is nontrivial. See [Build client web assets for your Razor Class Library](https://devblogs.microsoft.com/dotnet/build-client-web-assets-for-your-razor-class-library/) for more information. + ### Exclude static assets To exclude static assets, add the desired exclusion path to the `$(DefaultItemExcludes)` property group in the project file. Separate entries with a semicolon (`;`).