I broke my Pair to Mac in Windows: An error occurred while trying to start Broker 17.12.0.153

Steven Roman 20 Reputation points
2025-01-14T00:26:30.5766667+00:00

So I tried getting my project running in VSCode on the Mac, I got all the bits installed and it runs. Unfortunately doing that seems to have killed the Pair to Mac on my PC. Somehow my broker thinks I need to install .net 8 but I want .net 9. I don't actually know if before I started today if the PC was .net 9 and the mac wants 8. How do I tell the broker I want .net 9 not 8? Logs and stuff below:

Thanks,

Steven

stevenroman@Stevens-MacBook-Pro Xamarin.Messaging-17.12.0.153 % pwd

/Users/stevenroman/Library/Logs/Xamarin.Messaging-17.12.0.153

stevenroman@Stevens-MacBook-Pro Xamarin.Messaging-17.12.0.153 % dotnet workload list

Installed Workload Id      Manifest Version      Installation Source


maui-android               9.0.0/9.0.100         SDK 9.0.100        

maui-ios                   9.0.0/9.0.100         SDK 9.0.100        

maui-maccatalyst           9.0.0/9.0.100         SDK 9.0.100        

Use dotnet workload search to find additional workloads to install.

stevenroman@Stevens-MacBook-Pro Xamarin.Messaging-17.12.0.153 % tail -f 2025-01-13__16-08-06.14144.Broker.61a.stderr.log

The following frameworks were found:

  6.0.33 at [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

  7.0.20 at [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

  9.0.0 at [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Learn more:

https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:

https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.0&arch=arm64&rid=osx-arm64&os=osx.15

^C

stevenroman@Stevens-MacBook-Pro Xamarin.Messaging-17.12.0.153 % pwd

/Users/stevenroman/Library/Logs/Xamarin.Messaging-17.12.0.153

stevenroman@Stevens-MacBook-Pro Xamarin.Messaging-17.12.0.153 %

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,887 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,031 Reputation points Microsoft Vendor
    2025-01-20T08:43:45.47+00:00

    Hello,

    I found that you post a same issue at GitHub and has fixed this after installing .net 8 on the mac.

    I make an answer to summarize this solution, thanks for your sharing.

    Best Regards,

    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.