Skip to content

Migration/Testing Issues #31409

Open
Open

Description

Description

When following the instuctions, i run dotnet ef migrations add InitialCreate within the Integrated Terminal for my .csproj and get the following error. I have tried to change things, but cannot. May be user error...

You must install or update .NET to run this application.

App: C:\Users\brjones.dotnet\tools\dotnet-ef.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '8.0.1' (x64)
.NET location: C:\Program Files\dotnet\

6.0.25 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
7.0.14 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
8.0.0 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.1&arch=x64&rid=win-x64&os=win10

Page URL

https://learn.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/model?view=aspnetcore-8.0&tabs=visual-studio

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/tutorials/razor-pages/model.md

Document ID

7096fdb3-612e-9e00-bd0b-8ea4886a09ce

Article author

@wadepickett

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions