C
C#3mo 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
lycian3mo 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
BATBAT3mo ago
Yes, my OS is ventura. I re downloaded the binaries but facing the same problem
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
BATBAT
BATBAT3mo ago
I didn't install. I downloaded the binaries and added it to my path
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
BATBAT
BATBAT3mo 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 User3mo ago
Message Not Public
Sign In & Join Server To View
BATBAT
BATBAT3mo ago
I haven't set the dotnet root
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
reflectronic
reflectronic3mo ago
i would definitely prefer to use a package manager like homebrew over doing all of this manually
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
BATBAT
BATBAT3mo ago
the thing is, I don't have sudo access on this mac and while installing with brew it requires sudo password 🥲
lycian
lycian3mo ago
I would try with the dotnet root set, other commands may be checking that for cases with multiple sdks installed
BATBAT
BATBAT3mo ago
i didnt understand this
lycian
lycian3mo ago
No description
lycian
lycian3mo ago
from the documentation
BATBAT
BATBAT3mo 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 🙇‍♂️