✅ Error on using dot net binaries on mac "Microsoft.NETCore.App.app is damaged and can’t be opened"
I am able to run --help but anything other than that gives error.
I'm using "dotnet-sdk-8.0.204-osx-arm64"
17 Replies
General debugging:
Does
dotnet --list-sdks
work? If so, what sdks do you have?
Have you tried reinstalling?
Is your OS on the version support table? https://learn.microsoft.com/en-us/dotnet/core/install/macos#supported-releasesInstall .NET on macOS - .NET
Learn about what versions of macOS you can install .NET on.
Yes, my OS is ventura. I re downloaded the binaries but facing the same problem
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
I didn't install. I downloaded the binaries and added it to my path
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
I did "~/dotnet-sdk-8.0.204-osx-arm64/dotnet --version" but this didn't work
let me try verifying the checksum
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
I haven't set the dotnet root
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
i would definitely prefer to use a package manager like homebrew over doing all of this manually
Unknown User•6mo ago
Message Not Public
Sign In & Join Server To View
the thing is, I don't have sudo access on this mac and while installing with brew it requires sudo password 🥲
I would try with the dotnet root set, other commands may be checking that for cases with multiple sdks installed
i didnt understand this
from the documentation
It worked!
I redownloaded the binaries, checked the checksum,
but this time added dotnet root and used that to set path as mentioned in the doc you shared
and it works now
thanks a lot 🙇♂️