Giter VIP home page Giter VIP logo

Comments (7)

divega avatar divega commented on July 17, 2024

Expected Result:
The package “EntityFramework” can be installed correctly.

This will never work for EF6 in this type of project, so the fix we can do is to make sure the package won't be listed for platforms that it doesn't support.

from ef6.

bricelam avatar bricelam commented on July 17, 2024

So I tried this before a long time ago, but I couldn't remember why it didn't work. Looking into it again, it's because we have content (for App.config). There is no way to have framework-specific content, so the package will always install on any framework no matter what restrictions we put on lib, tools, dependencies, or frameworkAssemblies.

from ef6.

bricelam avatar bricelam commented on July 17, 2024

So we can either

  1. Fix the targetFramework attribute so the error goes away and it "successfully" installs (possibly with nothing in your project) on any framework.
  2. Do nothing and you'll continue to get an obscure error on other frameworks.

from ef6.

ErikEJ avatar ErikEJ commented on July 17, 2024

Plague or cholera, as we say in Danish

from ef6.

divega avatar divega commented on July 17, 2024

@bricelam does this help? NuGet/Home#2969 (comment)

from ef6.

bricelam avatar bricelam commented on July 17, 2024

Oh weird, I couldn't find that in the documentation. I'll give it a try.

from ef6.

bricelam avatar bricelam commented on July 17, 2024

It worked. And it's documented. 🐑

from ef6.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.