Efcore: SqlServer.Design & UWP

Created on 8 Nov 2017  路  3Comments  路  Source: dotnet/efcore

When adding Microsoft.EntityFrameworkCore.SqlServer.Design (2.0.0-preview1-final) to a project the following error occors on build:

Cannot find type Microsoft.EntityFrameworkCore.Metadata.RelationalFullAnnotationNames in module Microsoft.EntityFrameworkCore.Relational.dll

When only Microsoft.EntityFrameworkCore.SqlServer (2.0.0) is added the project builds (and runs) fine.

<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer">
<Version>2.0.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.Design">
<Version>2.0.0-preview1-final</Version>
</PackageReference>
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
<Version>6.0.1</Version>
</PackageReference>

System Info:

  • Visual Studio 2017 (15.4.2)
  • OS Build 16299.19
  • Targeting .NET Framework 4.6.1 & Min Target Version 16299
closed-question

Most helpful comment

Microsoft.EFCore.SqlServer.Design is not available in version 2.0, the code is included in Microsoft.EFCore.SqlServer 2.0

All 3 comments

Microsoft.EntityFrameworkCore.SqlServer.Design:2.0.0 does not appear in the NuGet Package Manager:

image

Microsoft.EFCore.SqlServer.Design is not available in version 2.0, the code is included in Microsoft.EFCore.SqlServer 2.0

Yep

image

Was this page helpful?
0 / 5 - 0 ratings