Skip to content

Error on .net9 rc2, Ubuntu 22 #47

@felixf4xu

Description

@felixf4xu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions