Martin Dawson
Martin Dawson

Reputation: 7656

Essential NuGet packages broken in MVC 6 (Asp.net 5)

I have started a new project in MVC 6 and a lot of the essential packages are not working, e.g. EntityFramework and WindowsAzure.Storage.

After I install from NuGet I get:

NU1002 The dependency WindowsAzure.Storage 6.2.0 in project App does not support framework DNXCore, Version=5.0.

Is their any way to fix this, or are the packages just out of date and I should stick with MVC 5?

enter image description here

Upvotes: 1

Views: 213

Answers (1)

Matt Ward
Matt Ward

Reputation: 47917

WindowsAzure.Storage 6.2.0 does not support ASP.NET Core projects.

Try the latest pre-release version instead WindowsAzure.Storage 6.2.2-preview. This NuGet package has been updated to support ASP.NET Core projects - it contains a lib\dotnet directory as well as a PCL and also defines dependencies for the .NETPlatform, which the 6.2.0 version does not.

Upvotes: 2

Related Questions