question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dotnet 3.1.414 installs on OSX, 3.1.415 does not install correctly

See original GitHub issue

Describe the bug

The latest 3.1.415 sdk installer does not produce a working installation on osx (m1).

I had to use the 3.1.414 installer to get a working system.

To Reproduce

remove all dotnets installed to get a clean system rm -rf /usr/share/dotnet

install the 3.1.414 installer.

dotnet --info

dotnet command not found

Exceptions (if any)

Further technical details

  • Include the output of dotnet --info
  • The IDE (VS / VS Code/ VS4Mac) you’re running on, and its version

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
vitek-karascommented, Nov 9, 2021

Only the arm64 SDKs are added to the “path”. If you need to use x64 SDK you either need to change your environment or explicitly call /usr/local/share/dotnet/x64/dotnet.

Please note that .NET 6 SDK should be mostly backward compatible with 3.1 apps - that is you should be able to build a 3.1 app with a 6.0 SDK. It should work that you use the 6.0 arm64 SDK to build a 3.1 x64 app. Most CLI commands which care have the -a arch option now to let you explicitly target a specific architecture. The only one missing right now is dotnet test - we’re still working on it.

0reactions
chunghakngorcommented, Nov 9, 2021

You can confirm the install location by checking the log files under /etc/dotnet/ as shown below

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install .NET on macOS
In this article, you'll learn how to install .NET on macOS. .NET is made up of the runtime and the SDK. The runtime...
Read more >
Chocolatey Software | .NET Core SDK 3.1.414
NET Core is a blazing fast, lightweight and modular platform for creating web applications and services that run on Windows, Linux and Mac....
Read more >
Installing .net core 3.1 on m1 ARM mac : r/dotnet
I'm trying to install .net core 3.1 on my arm mac but I'm not sure what I'm doing wrong. I've downloaded the x64...
Read more >
Run .netcore3.1 fail in Rider when both 6 and 3.1 SDK are ...
Run .netcore3.1 fail in Rider when both 6 and 3.1 SDK are installed, dotnet run cli is working fine · Env · Steps...
Read more >
Visual Studio 2019 unable to locate .Net Core SDK
Step 1) First run dotnet --list-sdks from the command line (as in Grzegorz Smulko's answer). Take note of the greatest version number.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found