Skip to content

The specified framework 'Microsoft.NETCore.App', version '2.0' was not found #8826

@redowl3

Description

@redowl3

Not sure if this is a cli issue or VS so happy to move to another area if not correct

Steps to reproduce

Update to Visual Studio Professional Preview (v 15.5.0 Preview 2)

Try to add data migration (using IDesignTimeDbContextFactory)

dotnet ef migrations add [MigrationName]

Expected behavior

Migration created

Actual behavior

Error message

The specified framework version '2.0' could not be parsed
The specified framework 'Microsoft.NETCore.App', version '2.0' was not found.

  • Check application dependencies and target a framework version installed at:
    \
  • Alternatively, install the framework version '2.0'.

Environment data

Product Information:
Version: 2.1.1-preview-007094
Commit SHA-1 hash: f657648

Runtime Environment:
OS Name: Windows
OS Version: 10.0.15063
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\2.1.1-preview-007094\

Microsoft .NET Core Shared Framework Host

Version : 2.0.0
Build : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions