Skip to content

[Blazor] Creating Interactive WebAssembly or Auto apps with Container Support triggers missing launchSettings.json error popup #68892

Description

@BharatRamsf3693

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When creating a Blazor Web App with Interactive WebAssembly or Interactive Auto render modes and Container Support enabled, Visual Studio displays an unexpected file path error popup during project creation.

The popup reports that it cannot find the launchSettings.json file in the generated Client project. Although the project is successfully created after dismissing the popup, the error interrupts the project creation experience and may lead users to believe that project creation has failed.

Expected Behavior

The project should be created successfully without displaying any error popups when Container Support is enabled.

Steps To Reproduce

  1. Open Visual Studio 2026 Insiders [12023.133] Professional.
  2. Create a new Blazor Web App.
  3. Choose either:
  • Interactive WebAssembly
  • Interactive Auto
  1. Enable Container Support.
  2. Select Create.
  3. Observe the following popup error:
    Could not find a part of the path "...\<ProjectName>.Client\Properties\launchSettings.json"

Interactivity WebAsssembly:

Image

Interactive Auto:

Image
  1. Select OK to dismiss the popup.
  2. Project creation completes successfully.

Exceptions (if any)

Could not find a part of the path "...<ProjectName>.Client\Properties\launchSettings.json"

.NET Version

11.0.100-preview.7.26381.103

Anything else?

Visual Studio: VS 2026 Insiders [12023.133] Professional
OS: Windows 11 Enterprise
Evidence: https://github.com/BharatRamsf3693/BlazorWebApp-ContainerSupport-Validation/blob/main/Evidence/ContainerSupport-On-CreationDialog/blazor-creation-dialog.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorIncludes: Blazor, Razor Components

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions