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 8829639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:52:50+00:00 2026-06-14T07:52:50+00:00

I just opened VS 2012 and created a class library project. After that I

  • 0

I just opened VS 2012 and created a class library project. After that I added a new ADO.NET Entity Data Model item to my solution.

I noticed there are both an assembly called EntityFramework 5.0 and another one called System.Data.Entity 4.0. Shouldn’t it be just one?

As a bonus problem, when I click the file the designer crashes:

Error   2   Error 6039: warning CS1701: Assuming assembly reference 'System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' matches 'System.Data.Entity, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089', you may need to supply runtime policy
c:\Users\andre_pena\AppData\Local\Temp\5srvr0ge.0.cs(465,29) : error CS1061: 'System.Data.Metadata.Edm.EdmFunction' does not contain a definition for 'IsComposableAttribute' and no extension method 'IsComposableAttribute' accepting a first argument of type 'System.Data.Metadata.Edm.EdmFunction' could be found (are you missing a using directive or an assembly reference?)    c:\users\andre_pena\documents\visual studio 2012\Projects\ClassLibrary2\ClassLibrary2\Model1.edmx   1   1   ClassLibrary2

Is it everything ok with my system? Is the existence of both files normal? Why am I getting this error?

  • 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-14T07:52:52+00:00Added an answer on June 14, 2026 at 7:52 am

    You should have both assemblies:

    EntityFramework.dll (has DbContext API, Code First)

    System.Data.Entity.dll (has ObjectContext and DbContext APIs, new features)

    The need for two assemblies are to allow the Entity Framework team to release updates without waiting for the next official release of the .NET Framework.

    EdmFunction.IsComposableAttribute is supported in .NET 4.5 so check the version of your
    System.Data.Entity.dll

    enter image description here

    And check the detailed answer here: https://stackoverflow.com/a/9694963/1241400

    Tip:

    If you want to use lambda with Include() add a using directive for System.Data.Entity .

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

Sidebar

Related Questions

I just opened my project in the new XCode 4.2 for the first time
I just opened up a project that had the .hgignore file set up entirely
I just opened a file in IDA Pro and I found some code that
today I just opened my 1,5 month old project and wanted to add a
just think that when I opened my file then when I want to write
I just checked out a revision from Subversion to a new folder. Opened the
We created a tag 2012/02/16 on our git repository. We then noticed that inside
I just opened my iPad project on XCode 4.5. My app is designed to
I just opened up a project I have done in MVC a while back,
Today I just opened the project I was working on XCODE 4, and only

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.