You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
An error dialog The server process is no longer running pop ups when running the 11.0 Blazor WebAssembly Standalone App #66836
Actual Result
When running Blazor WebAssembly Standalone App, vs pop up an error dialog The server process is no longer running.
Console Log
A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in 'C:\Users\v-zhajin\source\repos\BlazorApp6\BlazorApp6\bin\Debug\net11.0\'.
Failed to run as a self-contained app.
- The application was run as a self-contained app because 'C:\Users\v-zhajin\source\repos\BlazorApp6\BlazorApp6\bin\Debug\net11.0\BlazorApp6.runtimeconfig.json' did not specify a framework.
- If this should be a framework-dependent app, specify the appropriate framework in 'C:\Users\v-zhajin\source\repos\BlazorApp6\BlazorApp6\bin\Debug\net11.0\BlazorApp6.runtimeconfig.json'
Area:area-blazor (Issue affects Blazor WebAssembly Standalone App template and project execution in Visual Studio)
Type: Bug - The application fails to start when launched from Visual Studio due to missing hostpolicy.dll and incorrect runtimeconfig.json configuration.
Regression Info
Previously working version: .NET 11.0 Preview 4 and earlier
Broken since: .NET 11.0 Preview 5
The error indicates the runtime is treating the app as self-contained when it should be framework-dependent. The runtimeconfig.json file is not specifying the framework reference, causing the runtime to look for hostpolicy.dll in the app directory instead of using the shared framework.
Potential Duplicates
None found. This appears to be a new regression specific to the Blazor WebAssembly Standalone App template changes in .NET 11.0 Preview 5.
Notes
The issue only reproduces when running from Visual Studio (F5/Ctrl+F5), not with dotnet run
Only affects Blazor WebAssembly Standalone App template (not Blazor Web Server/WebAssembly hybrid apps)
The error message suggests the runtimeconfig.json is missing the framework reference, causing the runtime to attempt self-contained deployment without the necessary files
This appears to be a Visual Studio project system or MSBuild target issue specific to how the Blazor WebAssembly Standalone template is configured
@javiercn what target are you thinking of here? I don't see any mention of a binlog or msbuild invocation in the user report or AI analysis, so I don't know how to begin helping.
Activity
github-actions commentedon May 26, 2026
Triage Summary
Area:
area-blazor(Issue affects Blazor WebAssembly Standalone App template and project execution in Visual Studio)Type: Bug - The application fails to start when launched from Visual Studio due to missing
hostpolicy.dlland incorrectruntimeconfig.jsonconfiguration.Regression Info
runtimeconfig.jsonfile is not specifying the framework reference, causing the runtime to look forhostpolicy.dllin the app directory instead of using the shared framework.Potential Duplicates
None found. This appears to be a new regression specific to the Blazor WebAssembly Standalone App template changes in .NET 11.0 Preview 5.
Notes
dotnet runruntimeconfig.jsonis missing the framework reference, causing the runtime to attempt self-contained deployment without the necessary filesjinzhao1127 commentedon May 26, 2026
@javiercn could you look at this issue?
javiercn commentedon May 26, 2026
This is caused by VS not running the target (the CLI does it?) @baronfel do you know if this is the case or is the AI gaslighting me?
baronfel commentedon May 26, 2026
@javiercn what target are you thinking of here? I don't see any mention of a binlog or msbuild invocation in the user report or AI analysis, so I don't know how to begin helping.
Fix BlazorGateway VS F5 launch and E2E manifest task path
Fix BlazorGateway VS F5 launch and E2E manifest task path
EmilyFeng97 commentedon May 27, 2026
This issue also repro when running the Blazor WebAssembly Standalone App in VS Code.

Fix BlazorGateway VS F5 launch and E2E manifest task path
Fix BlazorGateway VS F5 launch and E2E manifest task path
Fix BlazorGateway VS F5 launch and E2E manifest task path
Fix BlazorGateway VS F5 launch and E2E manifest task path
[release/11.0-preview5] Fix BlazorGateway VS F5 launch (#66836) and E…
Fix BlazorGateway VS F5 launch (#66836) and E2E manifest task path (#…
jinzhao1127 commentedon Jun 2, 2026
Verify this bug on the latest 11.0 P5 [
11.0.100-preview.5.26279.113], it was fixed