Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8572437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:00:38+00:00 2026-06-11T19:00:38+00:00

I have an application that consists of a client-side application and a WebApi website.

  • 0

I have an application that consists of a client-side application and a WebApi website.

My client-side stuff is targetting .NET 4 so that I don’t have to insist that users install .NET 4.5. My website, however, is entirely under my control, so I’m targetting .NET 4.5.

There is one shared assembly, which I use for data access. It uses Entity Framework 5.

When I build the client application, the DLL used is version 4.4.xxx, whereas when I build the web application, the DLL is 5.0.xxx.

Up until now, I’ve been able to run the client application with no problems, and I’ve also been able to run the web application, again without problems.

However, I’ve now re-created my web application project from scratch (*), and suddenly I can’t run it. I get a YSOD saying “Could not load file or assembly ‘EntityFramework, Version=4.4.0.0 …” at the point where my data-access assembly is first invoked.

Now, it’s perfectly clear what that error means – it can’t find the v4.4 DLL as used by the data-access assembly – but I don’t understand why that’s a problem with my new project when it wasn’t a problem with my old project. As far as I can see, the same DLLs are referenced in each project.

(*) I should explain why I’m re-creating my project. I originally created the project in VS 2012 RC, and then later upgraded to the release version. Although this supposedly upgraded my project, I’ve had a few problems with it, and have also noticed some differences v. a newly-created project. So, to be on the safe side – and hopefully circumvent those other problems – I’m re-creating it from scratch.

So, my question: why is this suddenly a problem, and what can I do to resolve it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T19:00:39+00:00Added an answer on June 11, 2026 at 7:00 pm

    Is the code depending on the assemblies set to require the exact version? If so, you will need a publisher policy for the EntityFramework assembly or bindingRedirect for the referencing application (web project).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an asp.net 4.0 framework application that consists of a Masterpage and contentplaceholders.
I have a Java application that consists of a client and a server. The
I have a WCF client application that consists of about 5 proxies that all
I have an application that consists of two processes, one client process with a
I have an application that consists of two processes (let's call them A and
I have an application that consists of two forms. One form displays data returned
I have a server application that consists of multiple OSGi bundles, some mine, some
I would like to have a custom view in my application that consists of
I have an x86 Windows application that consists of a couple of services and
I have this application that consists of two phases. Queuing phase and chatting Phase.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.