Walletwasabi: Using Brew to install dotnet

Created on 6 Jan 2019  路  2Comments  路  Source: zkSNACKs/WalletWasabi

On a previous machine I was able to brew cask install node dotnet dotnet-sdk and do dotnet build to get Wasabi running, but when I tried it on a new machine today using Mojave, dotnet installs but I get Error: Cask 'dotnet-sdk' conflicts with 'dotnet'. when it tries to install dotnet-sdk.

If uninstall dotnet and just install dotnet-sdk and I do dotnet build I get command not found. I'm not sure where brew has installed dotnet, it says installer: Installing at base path /

Any ideas on how to fix this?

Most helpful comment

There is an issue with Homebrew you should use this link to download dotnet-sdk: https://dotnet.microsoft.com/download

With Homebrew I get this error:

curl: (22) The requested URL returned error: 416 Error: Download failed on Cask 'dotnet-sdk' with message: Download failed: https://download.visualstudio.microsoft.com/download/pr/4850aa8f-44a9-4c4a-9961-f18aa4d90ceb/07d790444f3ba6b412a76d6f1aced338/dotnet-sdk-2.2.105-osx-x64.pkg

Looks like there is an issue with Homebrew. Maybe this will solve it but it is not merged yet.
https://github.com/Homebrew/homebrew-cask/blob/master/Casks/dotnet-sdk.rb

Theoretically this is how it should work:

brew cask install dotnet-sdk

if you receive this Error: Cask 'dotnet-sdk' conflicts with 'dotnet'.

then you have to uninstall dotnet first:
brew cask uninstall dotnet
then
brew cask install dotnet-sdk

All 2 comments

I don't see Microsoft supporting brew for macOS. It offers a downloadable .pkg instead, so the brew package may be a community maintained thing, I'm not sure.

https://dotnet.microsoft.com/download

There is an issue with Homebrew you should use this link to download dotnet-sdk: https://dotnet.microsoft.com/download

With Homebrew I get this error:

curl: (22) The requested URL returned error: 416 Error: Download failed on Cask 'dotnet-sdk' with message: Download failed: https://download.visualstudio.microsoft.com/download/pr/4850aa8f-44a9-4c4a-9961-f18aa4d90ceb/07d790444f3ba6b412a76d6f1aced338/dotnet-sdk-2.2.105-osx-x64.pkg

Looks like there is an issue with Homebrew. Maybe this will solve it but it is not merged yet.
https://github.com/Homebrew/homebrew-cask/blob/master/Casks/dotnet-sdk.rb

Theoretically this is how it should work:

brew cask install dotnet-sdk

if you receive this Error: Cask 'dotnet-sdk' conflicts with 'dotnet'.

then you have to uninstall dotnet first:
brew cask uninstall dotnet
then
brew cask install dotnet-sdk

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yahiheb picture yahiheb  路  3Comments

trading2835 picture trading2835  路  3Comments

yahiheb picture yahiheb  路  3Comments

yahiheb picture yahiheb  路  3Comments

yahiheb picture yahiheb  路  3Comments