Andrew
Andrew

Reputation: 3796

Entity framework 6.0.1 -> 6.1 update, project references say "6.0.0.0"

I've updated my solution to use EF 6.1 using Library Package Manager

Next I've reviewed the list of pending changes and EF reference in each project resembles these lines:

<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
    <SpecificVersion>False</SpecificVersion>
    <HintPath>..\..\packages\EntityFramework.6.1.0\lib\net45\EntityFramework.dll</HintPath>
</Reference>

Why does it specifies Version=6.0.0.0 in fully qualified name?

Upvotes: 2

Views: 2423

Answers (1)

Martin Costello
Martin Costello

Reputation: 10863

EntityFramework 6.1.0 still has an Assembly Version of 6.0.0.0 to make upgrades easier from NuGet package 6.0.0 to 6.1.0 so that you don't need a binding redirect in your configuration file.

What's in your .csproj for the Include attribute value on the reference is correct.

Upvotes: 6

Related Questions