Orientation .Net Core Framework and full .Net 4.5 / 4.6 Framework in one Nuget package

Is it possible at all? I am trying to figure out how to do this. We have a project, for example, a project called "DoFunkyStuff".

We want to have two versions of this project that are based on .Net Core, and one that is built on Full.net 4.5 or 4.6 Framework, which has more features.

Firstly, how would I decide to structure these projects in my solution so that I can have both of these built-in Nuget packages, which are structured for different frameworks. Is it possible? Is it possible to have the same project name, but aiming at a completely separate structure with different functionality built into one Nuget package?

Any guidance would be awesome. Thanks in advance.

+4
source share
1 answer

Well, I found this link which describes how to orient both the main and the full structure. It also describes how to use each code in the code. It seems that in the end I will get some serious ugly code. At the moment, I think I'm better off having separate projects.

https://docs.microsoft.com/en-us/dotnet/articles/core/tutorials/libraries#how-to-multitarget

+2
source

Source: https://habr.com/ru/post/1652780/


All Articles