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