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

[macOS] Default Visual studio for mac will be changed to version 2022 for macOS 11&12 on May, 30 #5601

Closed
2 of 8 tasks
miketimofeev opened this issue May 24, 2022 · 6 comments
Assignees
Labels
Announcement Area: Apple Area: C/C++ awaiting-deployment Code complete; awaiting deployment and/or deployment in progress OS: macOS

Comments

@miketimofeev
Copy link
Contributor

Breaking changes

We are going to change the default Visual Studio for Mac from 2019 to 2022 for macOS 11 and macOS 12 images. The previous version will still be available for a few next weeks under the /Applications/Visual Studio 2019.app path.

Target date

The new image deployment will start on May, 30 and will take 3-4 days to propagate to all the environments.

The motivation for the changes

Visual Studio 2022 for Mac is now generally available and we would like to provide the latest stable version on our images https://devblogs.microsoft.com/visualstudio/visual-studio-2022-for-mac-is-now-available/

Possible impact

If your project is incompatible with Visual Studio for Mac 2022 it can be broken.

Virtual environments affected

  • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 10.15
  • macOS 11
  • macOS 12
  • Windows Server 2019
  • Windows Server 2022

Mitigation ways

Visual Studio 2019 for Mac will be available under the /Applications/Visual Studio 2019.app path. The deprecation will be announced additionally.

@Brosten
Copy link

Brosten commented Jun 2, 2022

So, what's the new installation path for vs 2022 and for msbuild? (Since the current c# 9 workaround using
mono /Applications/Visual\ Studio.app/Contents/Resources/lib/monodevelop/bin/MSBuild/Current/bin/MSBuild.dll
doesn't work any more.) And switching to the 2019 path seems like a real short term solution.

Answer to my own question... msbuild can now be found here:
/Applications/Visual\ Studio.app/Contents/MonoBundle/MSBuild/Current/bin/MSBuild.dll

@al-cheb
Copy link
Contributor

al-cheb commented Jun 2, 2022

The new macOS 12 image with VS 2022 on board has been deployed.

@al-cheb al-cheb closed this as completed Jun 2, 2022
@al-cheb al-cheb reopened this Jun 2, 2022
@al-cheb
Copy link
Contributor

al-cheb commented Jun 2, 2022

The new macOS 11 image with VS 2022 on board has been deployed - https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md

@al-cheb al-cheb closed this as completed Jun 2, 2022
@qwertylolman
Copy link

is .net6 will be available also?

@al-cheb
Copy link
Contributor

al-cheb commented Jun 3, 2022

is .net6 will be available also?

Our recommendation is to use https://github.com/actions/setup-dotnet task to install .Net.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Announcement Area: Apple Area: C/C++ awaiting-deployment Code complete; awaiting deployment and/or deployment in progress OS: macOS
Projects
None yet
Development

No branches or pull requests

5 participants
@qwertylolman @Brosten @al-cheb @miketimofeev and others