Skip to content

Running dotnet watch fails with .NET 6 Preview 6: It was not possible to find any compatible framework version #33739

@danroth27

Description

@danroth27

Repro steps:

  • Install .NET 6 Preview 6 (6.0.100-preview.6.21321.10)
  • dotnet new blazorserver -o BlazorApp
  • cd BlazorApp
  • dotnet watch

Expected result: Runs without error.

Actual result:

~\desktop\BlazorApp> dotnet watch
It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '6.0.0-preview.6.21318.21' was not found.
  - The following frameworks were found:
      2.1.27 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      2.1.28 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      3.1.15 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      3.1.16 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      5.0.6 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      5.0.7 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      6.0.0-preview.5.21301.5 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      6.0.0-preview.6.21317.12 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

You can resolve the problem by installing the specified framework and/or SDK.

The specified framework can be found at:
  - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=6.0.0-preview.6.21318.21&arch=x64&rid=win10-x64

Metadata

Metadata

Assignees

Labels

area-commandlinetoolsIncludes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPIbugThis issue describes a behavior which is not expected - a bug.feature-hot-reloadThis issue is related to the Hot Reload feaature

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions