Open darrencomeau opened 5 years ago
How to compile for multiple frameworks
Duplicated entire project for .netstandard - this project compiles libraries for both .net46 and .netstandard2.0 frameworks, existing .net40 framework still compiled in previous project.
Added all three libraries to the nuget package.
Beta3 NuGet package isn't providing the classes for consumption.
Suspect project.assets.json entries after applying nuget package to project are incorrect;
},
"VulcanAnalytics.DBTester/1.0.0-beta3": {
"sha512": "MhbEs1x62iuz17nLa7mGXxVUA921E8PIbl2zD//qKchmKBey+zofWM/GWIVRdrPgUbcFhmXvfaGWRFPGVAGYcQ==",
"type": "package",
"path": "vulcananalytics.dbtester/1.0.0-beta3",
"files": [
".git/COMMIT_EDITMSG",
".git/FETCH_HEAD",
".git/HEAD",
".git/ORIG_HEAD",
".git/config",
".git/description",
".git/hooks/applypatch-msg.sample",
".git/hooks/commit-msg.sample",
".git/hooks/post-update.sample",
This file wasn't present in other projects, might be .net core related structure.
Have reverted these changes to the project as other fixes are needed. This will be reviewed again later.
Project c#
.NET Core 2.1
Further message under dependencies;
Package 'VulcanAnalytics.DBTester 1.0.0-beta2' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.1'. This package may not be fully compatible with your project.