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.
Changed AlexaSkillsKit.Lib project to multi framework targeting library supporting .Net Framework 4.5+, .Net Standard 1.1 and .Net Standard 2.0.
Added a simple batch file and powershell to create a single multi framework targeting nuget package.
Set version to 1.7.0 (package and assembly)
Info: If you run the createPackages.cmd the NuGet package for Debug and Release configuration can be found in .\AlexaSkillsKit.Lib\bin\Packages.
I've configured some constants which may be used if you have to add some code which is only valid for a special target framework. Introduced constants are:
#NET45 ... for .Net Framework 4.5+
#NETCORE ... for .Net Core targeting (active for .Net 1.1 and 2.0)
#NETSTD11 ... for .Net Standard 1.1 only
#NETSTD20 ... for .Net Standard 2.0 only
If you edit a source file (e.g. Sdk.cs) you can easily switch the target framework using the drop--down box in the upper-left corner of your code editor window (next to the class selection drop down).
PS: I did not test it because I'm preparing an alexa backend for .net core 2.0 which is currently not active. I just did some configuration because I have experiences in creating multi framework targeting!