Skip to content
This repository has been archived by the owner on Jan 25, 2019. It is now read-only.

Bound to clash ? #49

Open
robeverett opened this issue Dec 1, 2018 · 2 comments
Open

Bound to clash ? #49

robeverett opened this issue Dec 1, 2018 · 2 comments

Comments

@robeverett
Copy link

How on earth could this be used (as expected) in an asp.net core 2.1 web app with angular project template if the dependencies include .net framework versions 4, 4.5 and 4.6 ?

These are incompatible with .net core !! surely ?

Is it meant to be used as a project that you import to your solution and then reference the .net 4. dependencies in the *.csproj file ?

@VahidN
Copy link
Owner

VahidN commented Dec 1, 2018

Those are not dependencies. It's called multi-targeting. You can create a NuGet package which supports a lot of different target frameworks and at the end, NuGet installer knows which one should be selected for the current project.

multi-target

As you can see, there are different compiled version of this library for each different target platform. NuGet installer will select the netstandard2.0 version for your project automatically and you don't need to do anything about it.

P.S.
Don't forget this news.

@Quas7113
Copy link

Good

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants