macos xamarin VisualStudio .NET6/7: PlatformNotSupportedException when creating BinanceClient
See original GitHub issueHi,
I tried to build minimal .NET 7.0 (also tried .NET 6.0) xamarin application that uses Binance.Net 8.5.1 NuGet package on macOS Ventura with VisualStudio 17.5.0.124 for Mac.
Ended up with PlatformNotSupportedException
at line var client = new BinanceClient();
Does Binance.Net supposed to work with such configuration?
Thank you for working on the project!
Issue Analytics
- State:
- Created 5 months ago
- Comments:14 (5 by maintainers)
Top Results From Across the Web
PlatformNotSupportedException in iOS Release build only
When running Xamarin iOS with EF Core release builds of iOS crash if you attempt to use the DbContext. App center logs two...
Read more >Connection Troubleshooting for a Xamarin.iOS Build Host
This guide provides troubleshooting steps for issues that may be encountered using the new connection manager, including connectivity and ...
Read more >Visual Studio for Mac doesn't have the .NET 7 or MAUI ...
I have the Visual Studio for Mac 17.6 (build 1575). It doesn't have either MAUI or .NET apps for Android and iOS. I...
Read more >c# - HttpClient.PatchAsync throws ...
I'm having a weird behavior with the latest Visual Studio for MAC, and latest XCode 11.1 installed on my machine.
Read more >Xamarin.IOS fails to build with MessagingRemoteException
I'm on VS 2019 Enterprise 16.6.0 Preview 1.0 and trying to build my Xamarin Forms app for iOS. It builds fine in Debug...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This worked for me, thank you!
The code above doesn’t help unfortunately. I think proxy is not a problem. The real problem as I can see is ‘System.Reflection.RuntimeMethodInfo.Invoke’ because my app is building with MAUI (it uses the same logic as a Xamarin) has the same error on Mac / iOS but working well for Windows and Android. I’m new in cross-platform .Net applications but from my experience in game developing Apple restricts using JIT and reflection usages and allow only AOT compiled code. I think this is the real problem.