Skip to content
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

Azure API Management Extension require .netframework 2.1 #146

Closed
chetanmangsuli84 opened this issue Dec 7, 2020 · 5 comments
Closed

Azure API Management Extension require .netframework 2.1 #146

chetanmangsuli84 opened this issue Dec 7, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@chetanmangsuli84
Copy link

chetanmangsuli84 commented Dec 7, 2020

Hello,

I am trying to use Azure API Management Extension on mac I get the error message "NET framework 2.1 not installed. Please go to 'https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=2.1.0&arch=x64&rid=win10-x64' to download"

Source : Azure API Management(Extension)
when extracting the API using this extension whether can we use this extension is supported on mac.

Thanks,
chetan

@RupengLiu RupengLiu self-assigned this Dec 10, 2020
@RupengLiu RupengLiu added this to the 0.1.9 milestone Dec 10, 2020
@enochjlee
Copy link

I found a work around for this:

const response = await cpUtils.executeCommand(undefined, undefined, 'dotnet', '--list-sdks');

is calling dotnet --list-sdks not dotnet --list-runtimes
so you have to install a .NET Core SDK, not a runtime.
https://dotnet.microsoft.com/download/dotnet-core/2.1

I installed the SDK and it started working.

const message: string = localize('dotnetNotInstalled', 'You must have the .NET CLI installed to perform this operation.');

should be something more descriptive, i.e.
const message: string = localize('dotnetNotInstalled', 'You must have a .NET Core SDK v2.1.x CLI installed to perform this operation.');

@your-azure-coach
Copy link

Thanks a lot @enochjlee , this worked for me!

@miaojiang
Copy link
Contributor

Thank you!

@miaojiang miaojiang modified the milestones: 1.0, 1.0.1 Mar 22, 2021
@miaojiang miaojiang added the enhancement New feature or request label Mar 22, 2021
@miaojiang miaojiang modified the milestones: 1.0.1, 1.0.2 Mar 29, 2021
@mikaelsand
Copy link

I don't know if it helps but I had the exact same issue yesterday Aug 25 2021.

@narcisradoi
Copy link

this is still happening - pointing to the runtime link instead of the SDK - it should be pointing to https://dotnet.microsoft.com/en-us/download/dotnet/2.1 - but its pointing to https://dotnet.microsoft.com/en-us/download/dotnet/2.1/runtime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants