Skip to content

[WIP] Fix BlazorWasmPreRendering publish error#58

Closed
Copilot wants to merge 1 commit intomasterfrom
copilot/fix-blazorwasmprerendering-error
Closed

[WIP] Fix BlazorWasmPreRendering publish error#58
Copilot wants to merge 1 commit intomasterfrom
copilot/fix-blazorwasmprerendering-error

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 26, 2026

Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.

Original prompt

This section details on the original issue you should resolve

<issue_title>blazorwasmprerendering publish error</issue_title>
<issue_description>Yesterday I downloaded this library to my project, which is .NET 10.

I downloaded version 7.0.0.

It gave the following error:

I tried it with every version, but the result was the same. I opened another project and tried it there, but the error was the same again. Where could this be coming from?

Unhandled exception. CommandLineSwitchParser.InvalidCommandLineSwitchException: -i is unknown switch/option.
at CommandLineSwitchParser.CommandLineSwitch.Parse[TOptions](String[]& args, Action`1 configureOptions)
at Toolbelt.Blazor.WebAssembly.PreRendering.Build.Program.Main(String[] args) in C:\Projects\My\Blazor\PreRendering\BlazorWasmPreRendering.Build\Program.cs:line 19
at Toolbelt.Blazor.WebAssembly.PreRendering.Build.Program.

(String[] args)
C:\Users\Burak.nuget\packages\blazorwasmprerendering.build\4.0.0\build\BlazorWasmPreRendering.Build.targets(64,5): Error MSB3073: The command ""C:\Program Files\dotnet\dotnet.exe" "C:\Users\Burak.nuget\packages\blazorwasmprerendering.build\4.0.0\build../tools/net8.0/BlazorWasmPreRendering.Build.dll" --assemblyname "BlazorApp2" -t "BlazorApp2.App" --selectorofrootcomponent "#app,app" --selectorofheadoutletcomponent "head::after" -p "C:\Users\Burak\Desktop\BlazorApp2\BlazorApp2\obj\Release\net8.0\browser-wasm\PubTmp\Out" -i "C:\Users\Burak\Desktop\BlazorApp2\BlazorApp2\obj\Release\net8.0." --assemblydir "C:\Users\Burak\Desktop\BlazorApp2\BlazorApp2\bin\Release\net8.0" -m "" -f "net8.0" --serviceworkerassetsmanifest "" --environment "Prerendering" --emulateauthme "true" --locale "en" -o "IndexHtmlInSubFolders" -u "" -r "Static" --serverport "5050-5999" --bwapoptionsdllext "bin"" exited with code -532462766.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI requested a review from jsakamoto January 27, 2026 00:10
Copilot stopped work on behalf of jsakamoto due to an error January 27, 2026 00:10
@jsakamoto jsakamoto closed this Jan 31, 2026
@jsakamoto jsakamoto deleted the copilot/fix-blazorwasmprerendering-error branch February 19, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

blazorwasmprerendering publish error

2 participants