Skip to content

dotnet-install.sh fails when using "Pair to Mac" in Visual Studio Enterprise 2022 #572

@Mr-Horse

Description

@Mr-Horse

Describe the bug.

We're trying to connect to a mac to do development on our old "xamarin" project that is now .NET 8.0 iOS. We normally connect to the mac and build/run the app on the mac simulator or iOS device. We've tried a ton of stuff and nothing seems to work. Currently we're unable to develop on the repo because of this issue. We would appreciate any help, thank you.

Reproduction Steps

  • Open visual studio solution with iOS project
  • Click on the xamarin agent button in the toolbar
  • Click add mac button
  • Type in the IP address or mac name
  • Enter username and password
  • Image
  • Click sign in
  • Image
  • The window shows an error: The dotnet SDK installation '9.0.102-servicing.24611.3' failed. If trying again doesn't work, please refer to the public documentation for more information and troubleshooting: https://aka.ms/pairtomac/dotnet
  • Actual error from the script file:
    Xamarin.Messaging.Exceptions.MessagingRemoteException: An error occurred on client IDB17120153 while executing a reply for topic xvs/idb/initialize-dotnet-sdk ---> Xamarin.Messaging.IDB.Contracts.DotNetSdkInstallationException: Could not install dotnet SDK '9.0.102-servicing.24611.3'. Details: /Users/mrhorse/Library/Caches/Xamarin/XMA/SDKs/dotnet/scripts/dotnet-install.sh: line 1440: link_types[$link_index]: unbound variable

What we've tried

  • Visual studio and Visual studio code is installed on the PC and Mac(visual studio for mac was deprecated)
  • dotnet 8 and 9 Arm64 are installed on the mac from here and here
  • Added all required permissions and settings from here
  • We've run "dotnet workload restore" on the mac and PC
  • We've run "dotnet restore" and "dotnet build" on the Mac, and the solution does build
  • We're able to run the script file "./dotnet-install.sh" from the terminal but ONLY with sudo
  • cd /users/mrhorse/library/caches/xamarin/xma/sdks/dotnet/scripts
  • chmod +x dotnet-install.sh
  • sudo ./dotnet-install.sh --version 9.0.102-servicing.24611.3
  • dotnet-install: .NET Core SDK with version '9.0.102' is already installed.
  • We're able to ssh into the mac from the PC in powershell and run the script file "./dotnet-install.sh" but ONLY with sudo
  • We are an admin on the Mac and PC

Output from xamarin logs

Xamarin log output ``` Xamarin Information: 0 : Xamarin - 17.12.0.153-d17-12+1d0906d: 01/31/2025 14:28:00Z DateTime=2025-01-31T14:28:00.6908367Z: 01/31/2025 14:28:00Z Xamarin Information: 0 : DateTime=2025-01-31T14:28:00.6908367Z: 01/31/2025 14:28:00Z Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : Starting Broker in-process...: 01/31/2025 14:28:00Z DateTime=2025-01-31T14:28:00.7113517Z: 01/31/2025 14:28:00Z Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : DateTime=2025-01-31T14:28:00.7113517Z: 01/31/2025 14:28:00Z Xamarin.Messaging.Server.BrokerAgentInProcess Information: 0 : Starting: Broker 17.12.0.153 ( PID = 23960 ): 01/31/2025 14:28:00Z DateTime=2025-01-31T14:28:00.7303517Z: 01/31/2025 14:28:00Z Xamarin.Messaging.Server.MessagingServer Information: 0 : Starting Messaging Server...: 01/31/2025 14:28:00Z DateTime=2025-01-31T14:28:00.7383547Z: 01/31/2025 14:28:00Z Xamarin.Messaging.Server.BrokerAgentInProcess Information: 0 : Connecting Agent to the Broker...: 01/31/2025 14:28:00Z DateTime=2025-01-31T14:28:00.7613542Z: 01/31/2025 14:28:00Z Xamarin.VisualStudio.TastyPackage Information: 0 : Hooked up SDB tracing adapter: 01/31/2025 14:28:01Z DateTime=2025-01-31T14:28:01.4645860Z: 01/31/2025 14:28:01Z Xamarin.VisualStudio.TastyPackage Information: 0 : Initialization finished: 01/31/2025 14:28:01Z DateTime=2025-01-31T14:28:01.4924587Z: 01/31/2025 14:28:01Z Xamarin.Messaging.Server.BrokerAgentInProcess Information: 0 : Initializing Agent context...: 01/31/2025 14:28:01Z DateTime=2025-01-31T14:28:01.5744146Z: 01/31/2025 14:28:01Z Xamarin.Messaging.Server.BrokerAgentInProcess Information: 0 : Registering Agent message handlers...: 01/31/2025 14:28:01Z DateTime=2025-01-31T14:28:01.5774146Z: 01/31/2025 14:28:01Z Xamarin.Messaging.Server.BrokerAgentInProcess Information: 0 : Registering message handler for message type: Xamarin.Messaging.GetAgentVersionMessage: 01/31/2025 14:28:01Z DateTime=2025-01-31T14:28:01.5844142Z: 01/31/2025 14:28:01Z Xamarin.VisualStudio.TastyPackage Information: 0 : Hooked up SDB tracing adapter: 01/31/2025 14:28:01Z DateTime=2025-01-31T14:28:01.6285597Z: 01/31/2025 14:28:01Z Xamarin.VisualStudio.TastyPackage Information: 0 : Initialization finished: 01/31/2025 14:28:01Z DateTime=2025-01-31T14:28:01.6394378Z: 01/31/2025 14:28:01Z Xamarin.VisualStudio.IOS.XamarinIOSPackage Warning: 0 : Initializing Xamarin.VisualStudio.IOS.XamarinIOSPackage.: 01/31/2025 14:28:01Z DateTime=2025-01-31T14:28:01.6394378Z: 01/31/2025 14:28:01Z Xamarin.Messaging.Server.BrokerAgentInProcess Information: 0 : Registering message handler for message type: Xamarin.Messaging.StopAgentMessage: 01/31/2025 14:28:01Z DateTime=2025-01-31T14:28:01.6844384Z: 01/31/2025 14:28:01Z Xamarin.Messaging.Server.BrokerAgentInProcess Information: 0 : Registering message handler for message type: Xamarin.Messaging.RegisterAgentMessage: 01/31/2025 14:28:01Z DateTime=2025-01-31T14:28:01.7253871Z: 01/31/2025 14:28:01Z Xamarin.Messaging.Server.BrokerAgentInProcess Information: 0 : Registering message handler for message type: Xamarin.Messaging.GetActiveClientsMessage: 01/31/2025 14:28:01Z DateTime=2025-01-31T14:28:01.7423849Z: 01/31/2025 14:28:01Z Xamarin.Messaging.Server.BrokerAgentInProcess Information: 0 : Registering message handler for message type: Xamarin.Messaging.GetActiveAgentsMessage: 01/31/2025 14:28:01Z DateTime=2025-01-31T14:28:01.7493861Z: 01/31/2025 14:28:01Z Xamarin.Messaging.Server.BrokerAgentInProcess Information: 0 : Agent registered: Broker: 01/31/2025 14:28:01Z DateTime=2025-01-31T14:28:01.7593853Z: 01/31/2025 14:28:01Z Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : Successfully started Broker in-process: 01/31/2025 14:28:01Z DateTime=2025-01-31T14:28:01.7633872Z: 01/31/2025 14:28:01Z Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : DateTime=2025-01-31T14:28:01.7633872Z: 01/31/2025 14:28:01Z Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : Connecting to Local Broker...: 01/31/2025 14:28:01Z DateTime=2025-01-31T14:28:01.7683853Z: 01/31/2025 14:28:01Z Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : DateTime=2025-01-31T14:28:01.7683853Z: 01/31/2025 14:28:01Z Xamarin.VisualStudio.IOS.AppleProjectCollector Information: 0 : Collecting new Apple project: Xamarin.Essentials.Release|AnyCPU|net8.0-ios.18.0: 01/31/2025 14:28:01Z DateTime=2025-01-31T14:28:01.8759090Z: 01/31/2025 14:28:01Z Xamarin.Messaging.Ssh.MessagingService Information: 0 : Agent Broker 17.12.0.153 is running: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.4620488Z: 01/31/2025 14:28:02Z Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : Successfully connected to Local Broker: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.4660479Z: 01/31/2025 14:28:02Z Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : DateTime=2025-01-31T14:28:02.4660479Z: 01/31/2025 14:28:02Z Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : Starting IDB Local Agent...: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.5026413Z: 01/31/2025 14:28:02Z Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : DateTime=2025-01-31T14:28:02.5026413Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Starting: IDB.Local 17.12.0.153 ( PID = 23960 ): 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.5041498Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Connecting Agent to the Broker...: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.5041498Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Initializing Agent context...: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.5051599Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering Agent message handlers...: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.6802565Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.GetAgentVersionMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.6802565Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.StopAgentMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.6812555Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : IDB Local Registering Handlers: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.6992670Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.GetMobileDeviceConfigurationMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.7002665Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.GetDevicesMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.7087838Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.RefreshDevicesMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.7157798Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.DeployAppMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.7277770Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.LaunchAppMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.7357786Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.StopDebuggingAppMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.7417781Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.AddDeveloperAccountMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.7517793Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.GetDeveloperAccountsMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.7587791Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.GetSigningIdentitiesMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.7647784Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.GetProvisioningProfilesMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.7707796Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.RemoveDeveloperAccountMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.7807797Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.SyncSigningIdentitiesMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.8272926Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.SyncProvisioningProfilesMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.8332901Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.DownloadProvisioningProfilesMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.8442933Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.AutoProvisionMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.8562922Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.CreateAppleCertificateMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.8692927Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.GetProvisioningInformationMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.8792929Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.CheckProvisioningStatusMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.8862928Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.ImportCertificateMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.9318145Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.GetSigningIdentityTypeMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.9408147Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.StartDeviceLogMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.9498940Z: 01/31/2025 14:28:02Z Xamarin.Messaging.IDB.Local.IDBLocalAgent Information: 0 : Registering message handler for message type: Xamarin.Messaging.IDB.Contracts.StopDeviceLogMessage: 01/31/2025 14:28:02Z DateTime=2025-01-31T14:28:02.9688934Z: 01/31/2025 14:28:02Z Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : Successfully started IDB Local Agent: 01/31/2025 14:28:03Z DateTime=2025-01-31T14:28:03.0475330Z: 01/31/2025 14:28:03Z Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : DateTime=2025-01-31T14:28:03.0475330Z: 01/31/2025 14:28:03Z Xamarin.Messaging.Server.BrokerAgentInProcess Information: 0 : Agent registered: IDBLocal17120153: 01/31/2025 14:28:03Z DateTime=2025-01-31T14:28:03.0545330Z: 01/31/2025 14:28:03Z Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : Checking xma 17.12.0.153 installation...: 01/31/2025 14:28:03Z DateTime=2025-01-31T14:28:03.0878763Z: 01/31/2025 14:28:03Z Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : DateTime=2025-01-31T14:28:03.0878763Z: 01/31/2025 14:28:03Z Xamarin.VisualStudio.IOS.AppleProjectCollector Information: 0 : Collecting new Apple project: dotStaff.iOS.Release|AnyCPU|net8.0-ios.18.0: 01/31/2025 14:28:05Z DateTime=2025-01-31T14:28:05.8916161Z: 01/31/2025 14:28:05Z Xamarin.VisualStudio.AssemblyRedirector Information: 0 : Redirecting assembly load of System.Reactive, Version=5.0.0.0, Culture=neutral, PublicKeyToken=94bc3704cddfc263: 01/31/2025 14:28:12Z DateTime=2025-01-31T14:28:12.7275097Z: 01/31/2025 14:28:12Z Xamarin.VisualStudio.AssemblyRedirector Information: 0 : loaded by (unknown): 01/31/2025 14:28:12Z DateTime=2025-01-31T14:28:12.7275097Z: 01/31/2025 14:28:12Z Xamarin.VisualStudio.AssemblyRedirector Information: 0 : to version 6.0.0.0: 01/31/2025 14:28:12Z DateTime=2025-01-31T14:28:12.7275097Z: 01/31/2025 14:28:12Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from DisconnectedState to ConfiguringState on inhqmb101155 (10.40.20.30): 01/31/2025 14:28:16Z DateTime=2025-01-31T14:28:16.6774364Z: 01/31/2025 14:28:16Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking host configuration for connecting to 'inhqmb101155'...: 01/31/2025 14:28:16Z DateTime=2025-01-31T14:28:16.6974384Z: 01/31/2025 14:28:16Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:16.6974384Z: 01/31/2025 14:28:16Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking SSH configuration...: 01/31/2025 14:28:16Z DateTime=2025-01-31T14:28:16.7225350Z: 01/31/2025 14:28:16Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:16.7225350Z: 01/31/2025 14:28:16Z Xamarin.Messaging.Ssh.SshInformationProvider Information: 0 : Current SSH Key File: C:\Users\mrhorse\AppData\Local\Xamarin\MonoTouch\id_xma.pub: 01/31/2025 14:28:16Z DateTime=2025-01-31T14:28:16.7265431Z: 01/31/2025 14:28:16Z Xamarin.Messaging.Ssh.SshInformationProvider Information: 0 : DateTime=2025-01-31T14:28:16.7265431Z: 01/31/2025 14:28:16Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Initializing environment...: 01/31/2025 14:28:17Z DateTime=2025-01-31T14:28:17.2296070Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:17.2296070Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking available disk space...: 01/31/2025 14:28:17Z DateTime=2025-01-31T14:28:17.4108810Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:17.4108810Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Verifying dotnet runtime installation...: 01/31/2025 14:28:17Z DateTime=2025-01-31T14:28:17.4445531Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:17.4445531Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Ssh.SshCommands Information: 0 : dotnet runtimes for '/usr/local/share/dotnet/dotnet': Microsoft.AspNetCore.App 8.0.12 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 9.0.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 8.0.12 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 9.0.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]: 01/31/2025 14:28:17Z DateTime=2025-01-31T14:28:17.4852380Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking if Rosetta is installed...: 01/31/2025 14:28:17Z DateTime=2025-01-31T14:28:17.4932381Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:17.4932381Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking Mono installation...: 01/31/2025 14:28:17Z DateTime=2025-01-31T14:28:17.5745051Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:17.5745051Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Ssh.SshCommands Information: 0 : A valid Mono installation has been found at '/Library/Frameworks/Mono.framework/Versions/Current/bin/mono64': 01/31/2025 14:28:17Z DateTime=2025-01-31T14:28:17.8849347Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking host configuration for connecting to 'inhqmb101155'...: 01/31/2025 14:28:17Z DateTime=2025-01-31T14:28:17.9675145Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:17.9685127Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from ConfiguringState to ConfiguredState on inhqmb101155 (10.40.20.30): 01/31/2025 14:28:17Z DateTime=2025-01-31T14:28:17.9705123Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Host 'inhqmb101155' is configured correctly: 01/31/2025 14:28:17Z DateTime=2025-01-31T14:28:17.9780454Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:17.9780454Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from ConfiguredState to ConnectingState on inhqmb101155 (10.40.20.30): 01/31/2025 14:28:17Z DateTime=2025-01-31T14:28:17.9790478Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting connection to 'inhqmb101155'...: 01/31/2025 14:28:17Z DateTime=2025-01-31T14:28:17.9830467Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:17.9830467Z: 01/31/2025 14:28:17Z Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : Checking Broker 17.12.0.153 installation...: 01/31/2025 14:28:18Z DateTime=2025-01-31T14:28:18.1640296Z: 01/31/2025 14:28:18Z Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : DateTime=2025-01-31T14:28:18.1640296Z: 01/31/2025 14:28:18Z Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : Starting Broker 17.12.0.153 in port 51976...: 01/31/2025 14:28:18Z DateTime=2025-01-31T14:28:18.9718900Z: 01/31/2025 14:28:18Z Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : DateTime=2025-01-31T14:28:18.9718900Z: 01/31/2025 14:28:18Z Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : Broker 17.12.0.153 started successfully: 01/31/2025 14:28:19Z DateTime=2025-01-31T14:28:19.8808163Z: 01/31/2025 14:28:19Z Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : DateTime=2025-01-31T14:28:19.8808163Z: 01/31/2025 14:28:19Z Xamarin.Messaging.Ssh.MessagingService Information: 0 : Agent Broker 17.12.0.153 is running: 01/31/2025 14:28:20Z DateTime=2025-01-31T14:28:20.0270315Z: 01/31/2025 14:28:20Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting connection to 'inhqmb101155'...: 01/31/2025 14:28:20Z DateTime=2025-01-31T14:28:20.0722716Z: 01/31/2025 14:28:20Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:20.0722716Z: 01/31/2025 14:28:20Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from ConnectingState to SshConnectedState on inhqmb101155 (10.40.20.30): 01/31/2025 14:28:20Z DateTime=2025-01-31T14:28:20.0732762Z: 01/31/2025 14:28:20Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : SSH connection to 'inhqmb101155' has been established...: 01/31/2025 14:28:20Z DateTime=2025-01-31T14:28:20.0772752Z: 01/31/2025 14:28:20Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:20.0772752Z: 01/31/2025 14:28:20Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from SshConnectedState to AgentsStartingState on inhqmb101155 (10.40.20.30): 01/31/2025 14:28:20Z DateTime=2025-01-31T14:28:20.0942776Z: 01/31/2025 14:28:20Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting registered Agents: IDB 17.12.0.153...: 01/31/2025 14:28:20Z DateTime=2025-01-31T14:28:20.1022715Z: 01/31/2025 14:28:20Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:20.1022715Z: 01/31/2025 14:28:20Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting IDB 17.12.0.153...: 01/31/2025 14:28:20Z DateTime=2025-01-31T14:28:20.1182797Z: 01/31/2025 14:28:20Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:20.1182797Z: 01/31/2025 14:28:20Z Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : Checking IDB 17.12.0.153 installation...: 01/31/2025 14:28:20Z DateTime=2025-01-31T14:28:20.1192812Z: 01/31/2025 14:28:20Z Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : DateTime=2025-01-31T14:28:20.1192812Z: 01/31/2025 14:28:20Z Xamarin.Messaging.Ssh.MessagingService Information: 0 : Starting Agent IDB 17.12.0.153...: 01/31/2025 14:28:23Z DateTime=2025-01-31T14:28:23.7384941Z: 01/31/2025 14:28:23Z Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : Starting IDB 17.12.0.153 in port 51976...: 01/31/2025 14:28:23Z DateTime=2025-01-31T14:28:23.7384941Z: 01/31/2025 14:28:23Z Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : DateTime=2025-01-31T14:28:23.7384941Z: 01/31/2025 14:28:23Z Xamarin.Messaging.Client.MessageHandlerManager Error: 0 : An error occurred while handling a message of type Xamarin.Messaging.AgentStatusMessage System.ArgumentNullException: Value cannot be null. Parameter name: name at Xamarin.Messaging.AgentInfo..ctor(String name, String version, String instanceId) in D:\a\_work\1\s\src\Xamarin.Messaging.Common\AgentInfo.cs:line 24 at Xamarin.Messaging.Ssh.MessagingEvents.b__9_0(AgentStatusMessage message) in D:\a\_work\1\s\src\Xamarin.Messaging.Ssh\MessagingEvents.cs:line 26 at Xamarin.Messaging.Client.DefaultHandler`1.d__4.MoveNext() in D:\a\_work\1\s\src\Xamarin.Messaging.Client\Handlers\DefaultHandler.cs:line 24 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.Messaging.Client.RequestHandler`1.d__5.MoveNext() in D:\a\_work\1\s\src\Xamarin.Messaging.Client\Handlers\RequestHandler.cs:line 34 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xamarin.Messaging.Client.MessageHandlerManager.<>c__DisplayClass17_0`1.<b__0>d.MoveNext() in D:\a\_work\1\s\src\Xamarin.Messaging.Client\MessageHandlerManager.cs:line 148: 01/31/2025 14:28:24Z DateTime=2025-01-31T14:28:24.4025463Z: 01/31/2025 14:28:24Z Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : IDB 17.12.0.153 started successfully: 01/31/2025 14:28:24Z DateTime=2025-01-31T14:28:24.8674103Z: 01/31/2025 14:28:24Z Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : DateTime=2025-01-31T14:28:24.8674103Z: 01/31/2025 14:28:24Z Xamarin.Messaging.Ssh.MessagingService Information: 0 : Agent IDB 17.12.0.153 is running: 01/31/2025 14:28:24Z DateTime=2025-01-31T14:28:24.8674103Z: 01/31/2025 14:28:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : IDB 17.12.0.153 started: 01/31/2025 14:28:24Z DateTime=2025-01-31T14:28:24.8714122Z: 01/31/2025 14:28:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:24.8714122Z: 01/31/2025 14:28:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting registered Agents: ...: 01/31/2025 14:28:24Z DateTime=2025-01-31T14:28:24.8764110Z: 01/31/2025 14:28:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:24.8764110Z: 01/31/2025 14:28:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from AgentsStartingState to AgentsStartedState on inhqmb101155 (10.40.20.30): 01/31/2025 14:28:24Z DateTime=2025-01-31T14:28:24.8794116Z: 01/31/2025 14:28:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : The Agents have been started successfully: 01/31/2025 14:28:24Z DateTime=2025-01-31T14:28:24.8881158Z: 01/31/2025 14:28:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:24.8881158Z: 01/31/2025 14:28:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from AgentsStartedState to ValidatingState on inhqmb101155 (10.40.20.30): 01/31/2025 14:28:24Z DateTime=2025-01-31T14:28:24.8913706Z: 01/31/2025 14:28:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Performing server validations against 'inhqmb101155'...: 01/31/2025 14:28:24Z DateTime=2025-01-31T14:28:24.8973746Z: 01/31/2025 14:28:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:24.8973746Z: 01/31/2025 14:28:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Setting up user remote session...: 01/31/2025 14:28:24Z DateTime=2025-01-31T14:28:24.9053737Z: 01/31/2025 14:28:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:24.9053737Z: 01/31/2025 14:28:24Z Xamarin.VisualStudio.IOS.Messaging.DotNetSdkValidator Information: 0 : Selected project configuration for DotNet validation: C:\Repos\dotStaff_Mobile\CalendarExample\CalendarExample.csproj: CalendarExample.Debug|AnyCPU|net8.0-ios.18.0: 01/31/2025 14:28:24Z DateTime=2025-01-31T14:28:24.9275165Z: 01/31/2025 14:28:24Z Xamarin.VisualStudio.IOS.Messaging.DotNetSdkValidator Information: 0 : DateTime=2025-01-31T14:28:24.9275165Z: 01/31/2025 14:28:24Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Installing dotnet SDK '9.0.102-servicing.24611.3'...: 01/31/2025 14:28:25Z DateTime=2025-01-31T14:28:25.0487242Z: 01/31/2025 14:28:25Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:25.0487242Z: 01/31/2025 14:28:25Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Downloading dotnet-install script...: 01/31/2025 14:28:25Z DateTime=2025-01-31T14:28:25.0507237Z: 01/31/2025 14:28:25Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:25.0507237Z: 01/31/2025 14:28:25Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : --install-dir "/Users/mrhorse/Library/Caches/Xamarin/XMA/SDKs/dotnet" --version 9.0.102-servicing.24611.3 --architecture Arm64 --no-path: 01/31/2025 14:28:38Z DateTime=2025-01-31T14:28:38.6209024Z: 01/31/2025 14:28:38Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:38.6209024Z: 01/31/2025 14:28:38Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Using dotnet install script '/Users/mrhorse/Library/Caches/Xamarin/XMA/SDKs/dotnet/scripts/dotnet-install.sh'...: 01/31/2025 14:28:38Z DateTime=2025-01-31T14:28:38.6391019Z: 01/31/2025 14:28:38Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:38.6391019Z: 01/31/2025 14:28:38Z Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Could not install dotnet SDK '9.0.102-servicing.24611.3'. Details: /Users/mrhorse/Library/Caches/Xamarin/XMA/SDKs/dotnet/scripts/dotnet-install.sh: line 1440: link_types[$link_index]: unbound variable

: 01/31/2025 14:28:39Z
DateTime=2025-01-31T14:28:39.3335494Z: 01/31/2025 14:28:39Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2025-01-31T14:28:39.3335494Z: 01/31/2025 14:28:39Z
Xamarin.Messaging.Client.MessagingClient Error: 0 : An error occurred on the receiver while executing a post for topic xvs/idb/initialize-dotnet-sdk and client vs23960rober
Xamarin.Messaging.Exceptions.MessagingRemoteException: An error occurred on client IDB17120153 while executing a reply for topic xvs/idb/initialize-dotnet-sdk ---> Xamarin.Messaging.IDB.Contracts.DotNetSdkInstallationException: Could not install dotnet SDK '9.0.102-servicing.24611.3'. Details: /Users/mrhorse/Library/Caches/Xamarin/XMA/SDKs/dotnet/scripts/dotnet-install.sh: line 1440: link_types[$link_index]: unbound variable

at Xamarin.Messaging.IDB.DotNetSdk.DotNetSdkManager.InstallSdkAsync(String, String , String , String )
at Xamarin.Messaging.IDB.InitializeDotNetSdkMessageHandler.ExecuteAsync(InitializeDotNetSdkMessage)
at Xamarin.Messaging.Client.RequestHandler2.HandleAsync(TMessage) at Xamarin.Messaging.Client.MessageHandlerManager.<>c__DisplayClass16_12.<b__2>d.MoveNext()
--- End of stack trace from previous location ---
at Xamarin.Messaging.Client.MessagingClient.ReplyAsync[TRequest,TResponse](IRequest1, MessagePriority, Func1)
--- End of inner exception stack trace ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Xamarin.Messaging.Client.ApplicationMessageExtensions.<>c__DisplayClass10_01.<OfResponse>b__1(MqttApplicationMessage m) in D:\a\_work\1\s\src\Xamarin.Messaging.Client\Extensions\ApplicationMessageExtensions.cs:line 194 at System.Reactive.Linq.ObservableImpl.Select2.Selector._.OnNext(TSource value)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Xamarin.Messaging.Client.MessagingClient.d__21`2.MoveNext() in D:\a_work\1\s\src\Xamarin.Messaging.Client\MessagingClient.cs:line 190: 01/31/2025 14:28:39Z
DateTime=2025-01-31T14:28:39.3647170Z: 01/31/2025 14:28:39Z

</details>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions