Skip to content

blazor.web.js and blazor.server.js request return 404 when Project OutputType is WinExe #64451

@jinjaeyeon

Description

@jinjaeyeon

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Our team has internally built and is using a tooling application with .NET 8.0 and Blazor. Because the app needs to run in the background on each individual’s Windows machine, we set the OutputType to WinExe.

With the release of .NET version 10.0, we started upgrading the app, but every page was rendering as a blank page. We tried various solutions we found, but none had any effect.

However, after removing the <OutputType>WinExe</OutputType> option from the .csproj—an option we had assumed would be harmless—and testing again, the pages began displaying correctly.

Expected Behavior

No response

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

No response

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions