VahidN / EPPlus.Core

EPPlus.Core is an unofficial port of the EPPlus library to .NET Core
GNU Lesser General Public License v3.0
370 stars 93 forks source link

Bound to clash ? #49

Open robeverett opened 5 years ago

robeverett commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

Good