You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 18, 2017. It is now read-only.
I'm experiencing the famous "System.Net.Security" issue on an arm machine.
The arm machine is a Raspberry PI which is running Windows IoT Core.
When running the project on version 1.0.0-rc2-16357 on a x64 architecture, everything runs smooth. But when I publish the project and try to run it on the Raspberry PI, I’m facing the following error:
Exception throwed in IoTHubAmqpConnection: System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'System.Net.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ---> System.IO.FileNotFoundException: Could not load the specified file. File name: 'System.Net.Security' at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyName(AssemblyName assemblyName) at System.Runtime.Loader.AssemblyLoadContext.Resolve(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
. I already combined the System.Net.Security with the Microsoft.NETCore.Platforms library but this doesn't work for me. Or should I use specific versions? My project.json looks like this:
I'm experiencing the famous "System.Net.Security" issue on an arm machine.
The arm machine is a Raspberry PI which is running Windows IoT Core.
When running the project on version 1.0.0-rc2-16357 on a x64 architecture, everything runs smooth. But when I publish the project and try to run it on the Raspberry PI, I’m facing the following error:
Exception throwed in IoTHubAmqpConnection: System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'System.Net.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ---> System.IO.FileNotFoundException: Could not load the specified file. File name: 'System.Net.Security' at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyName(AssemblyName assemblyName) at System.Runtime.Loader.AssemblyLoadContext.Resolve(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
. I already combined the System.Net.Security with the Microsoft.NETCore.Platforms library but this doesn't work for me. Or should I use specific versions? My project.json looks like this:
There already have been issues regarding System.Net.Security: #4533
It should have been resolved in RC2 builds as stated here #3183
The text was updated successfully, but these errors were encountered: