Closed arivoir closed 2 years ago
Hey there! Does it work from Visual Studio 2019 or VS2022 stable version? I haven't seen any of these problems myself. And from the logs I see No operation can be performed on client because the underlying MQTT client was disconnected
which indicates that there might be a problem with the network or the connection being interrupted?
Maybe have a look at the Docs, there is also a troubleshooting guide and see if that helps: https://docs.microsoft.com/xamarin/ios/get-started/installation/windows/connecting-to-mac/
I might be having similar issues. I had a lot of trouble with the initial 'Pair to Mac'. Now it seems to connect fine but when I actually try to build and run on the mac, I end up with what looks like MQTT errors:
Severity Code Description Project File Line Suppression State
Error MessagingRemoteException: An error occurred on client Build while executing a reply for topic xvs/build/execute-task/MyApp/76cd35f002fCompileAppManifest
ArgumentNullException: Value cannot be null.
Parameter name: path1
MyApp C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\15.2.200-preview.12.4\tools\msbuild\iOS\Xamarin.Shared.targets 455
and
Severity Code Description Project File Line Suppression State
Warning An error occurred on client Build while executing a reply for topic xvs/build/execute-task/MyApp/76cd35f002fCompileAppManifest
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Xamarin.Messaging.Client.ApplicationMessageExtensions.<>c__DisplayClass10_0`1.<OfResponse>b__1(MqttApplicationMessage m) in D:\a\_work\1\s\src\Xamarin.Messaging.Client\Extensions\ApplicationMessageExtensions.cs:line 197
at System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value) in d:\a\1\s\Rx.NET\Source\src\System.Reactive\Linq\Observable\Select.cs:line 39
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__21`2.MoveNext() in D:\a\_work\1\s\src\Xamarin.Messaging.Client\MessagingClient.cs:line 193 MyApp C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\15.2.200-preview.12.4\tools\msbuild\iOS\Xamarin.Shared.targets 455
Not reproducible with vs 32223.341.main. can be connect to mac from windows.
Description
I'm trying to run a MAUI project from Visual Studio 2022 17.1.0 Preview 2.0, but I can't connect to mac
Steps to Reproduce
Version with bug
Preview 12 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
All
Did you find any workaround?
No
Relevant log output