Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is an expanded solution with corresponding projects for .NET Core 2.0.
I would like to see a single NuGet package which contains separate target folders in the lib folder (i.e. net4 & .netcoreapp20). There is no reason for a new separate NuGet package. However, I was unable (and admittedly unwilling) to go thru the Packager project to create that feature. I also use PS when creating packaging projects, but never get as complete and sophisticated as your code. (BTW, I find it interesting that VS 2017 has NuGet packaging built in, but I don't think that can be used for a NuGet package that has various framework targets (i.e. versions of .NET as well as versions of .NET Core).
Please consider using this as we depend on your code, but are having issues as the latest versions of VS are making it inconvenient to create dependencies on .NET framework from .NET Core based projects.