Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Remove staticwebassets in blazor webassembly not working

$
0
0

I am trying to not include static web assets in a blazorwebassembly project since I don't need them. I use:

<Target Name="ChooseEnabledStaticAssets" DependsOnTargets="ResolveStaticWebAssetsInputs" Condition="$(Configuration)=='Release'"><ItemGroup><StaticWebAsset Remove="**\*" /></ItemGroup>            </Target>

And when I build in release mode, static assets still generate. How to correct this or something else to disable project staticwebassets generation when built?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>