Skip to content

Dot Net core install fail in macOS with m1 cpu #2093

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
zhv9 opened this issue Aug 28, 2021 · 2 comments
Closed

Dot Net core install fail in macOS with m1 cpu #2093

zhv9 opened this issue Aug 28, 2021 · 2 comments
Assignees

Comments

@zhv9
Copy link

zhv9 commented Aug 28, 2021

Describe the bug

I am using a mac with m1 CPU.

Fail to install .Net core when debugging the Typescript app which was created by vscode teams toolkit extension.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Teams Toolkit(v2.5.0)
  2. Click on Create a new Teams app
  3. Select Create a new Teams app -> Tab -> Azure -> no resource -> Typescript
  4. Goto App code then Debug with Edge
  5. The Output of "Teams Toolkit" have below errors
dotnet-install: Downloading primary link https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.412/dotnet-sdk-3.1.412-osx-arm64.tar.gz
curl: (22) The requested URL returned error: 404 
dotnet-install: The resource at https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.412/dotnet-sdk-3.1.412-osx-arm64.tar.gz is not available.
dotnet-install: Downloading legacy link https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.412/dotnet-dev-osx-arm64.3.1.412.tar.gz
curl: (22) The requested URL returned error: 404 
dotnet-install: The resource at https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.412/dotnet-dev-osx-arm64.3.1.412.tar.gz is not available.
', stderr = 'dotnet_install: Error: Could not find `.NET Core SDK` with version = 3.1.412
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
', timecost = '14.23s'

Expected behavior

No errors.

Screenshots

NA

VS Code Extension Information (please complete the following information):

  • OS: macOS Big Sur 11.5.2
  • Version V2.5.0

CLI Information (please complete the following information):

  • OS: macOS Big Sur 11.5.2
  • Version: NA

Additional context

node version: V16.3.0

@ghost
Copy link

ghost commented Aug 28, 2021

Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.

@zhv9 zhv9 changed the title Dot net Core install fail in macOS with m1 cpu Dot Net core install fail in macOS with m1 cpu Aug 28, 2021
@meifans
Copy link
Contributor

meifans commented Aug 30, 2021

Thanks @zhv9 for the feedback!

Currently neither .NET 5.0 SDK or .NET Core 3.1 SDK supports M1 Mac. You can see this GitHub issue or our docs about DotNet M1 to learn more about it.

A workaround: install dotnet manually(how to install dotnet sdk) and teamstoolkit will use dotnet sdk on your machine.

Feel free to try it and provide your feedback.

@meifans meifans closed this as completed Aug 30, 2021
@meifans meifans reopened this Aug 30, 2021
@MuyangAmigo MuyangAmigo added dependencies Pull requests that update a dependency file and removed dependencies Pull requests that update a dependency file labels Aug 31, 2021
@kimizhu kimizhu closed this as completed Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants