WebSocket4Net
WebSocket4Net copied to clipboard
UWP Errors
Hello Kerry! I have pcl xamarin project! When i build uwp project will run with this errors:
1.Some packages are not compatible with UAP,Version=v10.0 (win10-x86). 2.System.Net.Security 4.0.0 provides a compile-time reference assembly for System.Net.Security on UAP,Version=v10.0, but there is no run-time assembly compatible with win10-x86.
My Pcl project.json:
{
"supports": {},
"dependencies": {
"NETStandard.Library": "1.6.1",
"WebSocket4Net": "0.15.0-beta6",
"Xamarin.Forms": "2.3.3.193"
},
"frameworks": {
"netstandard1.4": {
"imports": "portable-net45+win8+wpa81+wp8"
}
}
}
My UWP project.json:
{
"dependencies": {
"Microsoft.NETCore.UniversalWindowsPlatform": "5.2.2"
},
"frameworks": {
"uap10.0": {"imports": [ "netstandard1.4"]}
},
"runtimes": {
"win10-x86": {},
}
}
Can you help me ?
My test project : dropbox
You could try to add the dependency in "runtimes". Open the speech marks and Visual Studio will help.