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?