dotnet/installer

Investigate reports of .NET SDKs not working after install on macOS

baronfel opened this issue · 2 comments

We've had a couple reports now (one on AzDO, one from @webreidi's team) that users installing the SDK via the macOS pkg installers are not in a usable state after installation. Specifically the dotnet binaries are not invokable after installation.

We should investigate the packages and verify:

  • any PATH modifications/symlinks inside PATH-known locations to non-PATH-locations are created correctly
  • the /etc/install_locations are set as expected as well

I know we do have release testing that broadly should cover this, but multiple reports means we should look into it.

I just installed 8.0.101 via the package installer on my M2 Macbook and was able to invoke dotnet after installation - though I did need to restart my terminal application to pick up the changes to $PATH (which in this case added /usr/local/share/dotnet to $PATH. The /etc/dotnet/install_location and /etc/dotnet/install_location_x64 marker files were in their correct locations as well.