Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It was not possible to find any compatible framework version when trying to add migration #2

Closed
FairyFox5700 opened this issue Jan 1, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@FairyFox5700
Copy link
Owner

dotnet ef migrations add InitialSchema -p DisasterTrackerApp.Dal/DisasterTrackerApp.Dal.csproj
Build started...
Build succeeded.
It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '2.0.0' (x64) was not found.

  • The following frameworks were found:
    3.1.20 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
    5.0.5 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
    5.0.11 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
    6.0.0 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:

@FairyFox5700 FairyFox5700 added documentation Improvements or additions to documentation good first issue Good for newcomers labels Jan 1, 2022
@FairyFox5700
Copy link
Owner Author

dotnet add package Microsoft.EntityFrameworkCore.Design

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant