As exactly described here Cannot reference .NET Core library from UWP, im receiving the same exception.
"System.IO.FileLoadException" in Project.exe
UWP-Projectfile
{
"dependencies": {
"Microsoft.NETCore.UniversalWindowsPlatform": "5.2.2",
"Microsoft.Xaml.Behaviors.Uwp.Managed": "1.1.0",
"Newtonsoft.Json": "9.0.1",
"Template10": "1.1.11"
},
"frameworks": {
"uap10.0": { "imports": "netstandard1.6" }
},
"runtimes": {
"win10-arm": {},
"win10-arm-aot": {},
"win10-x86": {},
"win10-x86-aot": {},
"win10-x64": {},
"win10-x64-aot": {}
}
}
.Net-Core Projectfile
{
"version": "1.0.0-*",
"dependencies": {
"NETStandard.Library": "1.6.0"
},
"frameworks": {
"netstandard1.6": {
"imports": "dnxcore50"
}
}
}
Another strange thing happening is this:
Notes
For my Core-Dll
, i did not make an Nuget-package, but referenced it like in the old days.
The project is nothing special. I've used the Template 10 pack and updated all packages via Nuget.
Without referencing my own .dll, everything works and no errors are popping.
Do i really have to make a package for all and everything im going to develop and want to source out in a seperate .dll?