How to get EF 4.2 with Microsoft Visual C# 2010 Express? RRS feed

  • Question

  • EF 4.2 is currently only installable via nuget.

    Nuget doesn't work within Visual C# 2010 Express.


    Maybe the same like here:


    Any ideas?

    Saturday, January 21, 2012 10:32 AM


  • Hi berndott,

    Welcome to MSDN Forum.

    Yes, as you know, EF4.2 only can be installed via nuget currently. Do you have any specific requirement that must use EF4.2? The difference between EF4.1 and EF4.2 is only a bug fixed.

    "When we released ‘EF 4.1 Update 1’ we introduced a bug that affects third party EF providers using a generic class for their provider factory implementation, things such as WrappingProviderFactory<TProvider>. We missed this during our testing and it was reported by some of our provider writers after we had shipped. If you hit this bug you will get a FileLoadException stating “The given assembly name or codebase was invalid”. This bug is blocking some third party providers from working with ‘EF 4.1 Update 1’ and the only workaround for folks using an affected provider is to ask them to remain on EF 4.1. So, we will be shipping this version to fix it, this will be the only change between ‘EF 4.1 Update 1’ and ‘EF 4.2’. Obviously a single bug fix wouldn’t normally warrant bumping the minor version, but we also wanted to take the opportunity to get onto the semantic versioning path rather than calling the release ‘EF 4.1 Update 2’." This paragraph is from ADO.NET team blog.

    Here's a ADO.NET Entity Framework and Linq to Entities(Pre-Release) Forum. Any problems about Entity Framework4.2 can post there. If you have any problems about released version of Entity Framework, please feel free to post here, I'm glad to help you with the issues.

    Best Regards


    Allen Li [MSFT]
    MSDN Community Support | Feedback to us
    Monday, January 23, 2012 8:33 AM