Skip to content

Browser Launches Without URI When Debugging Server Project #1703

@vatsashah45

Description

@vatsashah45

Current behavior

When starting the server project from Visual Studio, a browser window opens but the URL is blank or about:blank. Manually navigating to http://localhost:5001 or https://localhost:5002 works, and the app runs, but hot reload is disabled

Expected behavior

The browser should launch with the correct URL from launchSettings.json

Affected platforms

No response

Template Host

dotnet new

Host OS

Windows

Template Options

dotnet new unoapp -o TestingTemplates -preset "recommended" -server

Template Version

Uno.Templates::6.1.23

Anything else we need to know?

Steps to repro:

  1. Create a new Uno solution using Uno.Templates::6.1.23.
  2. Set the server project as the startup project.
  3. Start debugging.
  4. Observe the browser opens with no URI

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't workingtriage/untriagedIndicates an issue requires triaging or verification.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions