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

Fulfilled 6.0.0 requirement preventing pac installation in Power Platform Tools for Visual Studio Code on Mac #670

Closed
zwhitchcox opened this issue Aug 15, 2023 · 2 comments

Comments

@zwhitchcox
Copy link

Power Platform Tools for Visual Studio Code is complaining that I don't have dotnet v 6.0.0 or greater installed, when it is installed:

Screenshot 2023-08-15 at 10 24 42 AM I've tried installing the x64 and amd64 versions (on an M2) and uninstalling later versions (7.0.4 and 7.110.0), and I get the same error.

Not sure where to go from here.

@petrochuk
Copy link
Contributor

Take a look at these Troubleshoot .NET tool usage issues some are specific to MacOS

@zwhitchcox
Copy link
Author

Ok, I figured it out.

I just needed to close VS Code completely and reopen it. Apparently it holds the dotnet version somewhere in memory, and when you close all windows, it does not reset the version. You have to actually quit VS Code and reopen it after you install the dotnet tools.

Not sure if you want to leave this open in case you want to check for the installed version instead of keeping it in memory. I guess it could be an environment variable too, not sure. Feel free to close this though.

For people searching:

Cannot install pac cli dotnet sdk 6.0 or greater must be installed mac os x power apps

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

2 participants