Update to latest runtime of .net 8 in mac

Dani_S 4,051 Reputation points
2025-01-31T03:31:16.32+00:00

Hi,

Problem:when running may app in .net 9 in debug it works but without debugging is not.

error:

Error: :XAML: .NET Runtime version currently executing is 8.0.5, but version 8.0.10 or later is required

Diagnostic:

% dotnet --list-runtimes

Microsoft.AspNetCore.App 8.0.5 [/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.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

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

Question:

@Bruce (SqlWork.com)

As 8.0.12 is the current .net 8 runtime version, why not just update in one of the tickets?

How I update my Mac machine to 8.0.12 ,is the current .net 8 runtime version?

Can you please link and instructions?

Thanks,

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

Accepted answer
  1. Bruce (SqlWork.com) 70,611 Reputation points
    2025-01-31T20:48:56.6733333+00:00

    the download link:

    https://dotnet.microsoft.com/en-us/download/dotnet/8.0

    pick the sdk as you are doing dev work. pick arm64 or x64 depending on your Mac hardware.

    note: Intel Macs can only run x64. silicon (arm) Macs can run either, but typically you would only install arm64.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.