Hi,
I'm testing blazorwasm in Ubuntu 22, with commands as below:
dotnet new blazorwasm -o WasmApp
cd WasmApp/
dotnet add package BlazorWasmPreRendering.Build
dotnet publish
then I have this error:
WasmApp failed with 1 error(s) (11.1s) → bin/Release/net9.0/publish/
/home/cc/.nuget/packages/blazorwasmprerendering.build/4.0.1/build/BlazorWasmPreRendering.Build.targets(64,5): error MSB3073: The command ""/home/cc/dotnet/dotnet" "/home/cc/.nuget/packages/blazorwasmprerendering.build/4.0.1/build/../tools//BlazorWasmPreRendering.Build.dll" --assemblyname "WasmApp" -t "WasmApp.App" --selectorofrootcomponent "#app,app" --selectorofheadoutletcomponent "head::after" -p "/home/cc/testcode/WasmApp/bin/Release/net9.0/publish" -i "/home/cc/testcode/WasmApp/obj/Release/net9.0/." --assemblydir "/home/cc/testcode/WasmApp/bin/Release/net9.0" -m "" -f "" --serviceworkerassetsmanifest "" --environment "Prerendering" --emulateauthme "true" --locale "en" -o "IndexHtmlInSubFolders" -u "" -r "Static" --serverport "5050-5999" --bwapoptionsdllext "bin"" exited with code 1.
Hi,
I'm testing blazorwasm in Ubuntu 22, with commands as below:
dotnet new blazorwasm -o WasmApp cd WasmApp/ dotnet add package BlazorWasmPreRendering.Build dotnet publishthen I have this error: