It's inconvenient, but I just moved my Mac from back table up to my desk so I can work with the emulator. In my case, I also had to close out the simulator that was sitting on the black screen. Then scroll down to Xamarin, expand that and click iOS settings.Ībout 2 or 3 sections down, you should see Simulator and below that a check box: In any case, for me it worked once I turned off remote emulator to windows. I went back to visual studio 17 LTCS version, and still had the same issue which argues against that. Whether this is a deployment issue by visual studio team or not, I'm not sure. (Exception from HRESULT: 0x80131044)Īt .Main(String args) Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'CLAP, Version=4.6.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. If you look at the iOS terminal which you can bring up under tools -> iOS -> Open Terminal on Paired Mac., you will probably see: The system cannot find the file specified.Īt .BsonSerializer…ctor()Īt .SerializationManager.c.b_3_0() in D:\a_work\1\s\src\\Serialization\SerializationManager.cs:line 17Īt () at ()Īt …cctor() in D:\a_work\1\s\src\\XmaApp.cs:line 24Īt …ctor()Īt .Main(String args) in D:\a_work\1\s\src\\Program.cs:line 18 > System.IO.FileNotFoundException: Could not load file or assembly ‘Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’ or one of its dependencies. Unhandled Exception: System.TypeInitializationException: The type initializer for ‘’ threw an exception. I will be trying it with a MAUI app in the near future (and will post an update) as I suspect much of the Xamarin intermittent basic loss of functionality is due to focus on MAUI and nearly complete neglect of testing on Xamarin. In addition to the different error shown below, it no longer fails but just keeps trying until I hit cancel. Still doesn't work, but at least the terminal error is different. MAUI RC just came out so I upgraded mac fully and ran with latest VS 2022 preview and Xamarin.
0 Comments
Leave a Reply. |