C
C#2mo ago
BATBAT

✅ 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
lycian
lycian2mo ago
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-releases
Install .NET on macOS - .NET
Learn about what versions of macOS you can install .NET on.
BATBAT
BATBAT2mo ago
Yes, my OS is ventura. I re downloaded the binaries but facing the same problem
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
BATBAT
BATBAT2mo ago
I didn't install. I downloaded the binaries and added it to my path
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
BATBAT
BATBAT2mo ago
I did "~/dotnet-sdk-8.0.204-osx-arm64/dotnet --version" but this didn't work let me try verifying the checksum
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
BATBAT
BATBAT2mo ago
I haven't set the dotnet root
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
reflectronic
reflectronic2mo ago
i would definitely prefer to use a package manager like homebrew over doing all of this manually
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
BATBAT
BATBAT2mo ago
the thing is, I don't have sudo access on this mac and while installing with brew it requires sudo password 🥲
lycian
lycian2mo ago
I would try with the dotnet root set, other commands may be checking that for cases with multiple sdks installed
BATBAT
BATBAT2mo ago
i didnt understand this
lycian
lycian2mo ago
No description
lycian
lycian2mo ago
from the documentation
BATBAT
BATBAT2mo ago
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 🙇‍♂️