From 76f5a7d73e94092c91f345919f94fc425a6f760b Mon Sep 17 00:00:00 2001 From: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com> Date: Tue, 7 Jun 2022 10:37:38 +0400 Subject: [PATCH] Add a note about VS 2019 usage (#5701) --- .../software-report/SoftwareReport.Generator.ps1 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/images/macos/software-report/SoftwareReport.Generator.ps1 b/images/macos/software-report/SoftwareReport.Generator.ps1 index 60bca7ad..4cc62783 100644 --- a/images/macos/software-report/SoftwareReport.Generator.ps1 +++ b/images/macos/software-report/SoftwareReport.Generator.ps1 @@ -244,6 +244,17 @@ $markdown += New-MDHeader "Xamarin" -Level 3 $markdown += New-MDHeader "Visual Studio for Mac" -Level 4 $markdown += Build-VSMacTable | New-MDTable $markdown += New-MDNewLine +if (-not $os.Catalina) { +$markdown += New-MDHeader "Notes:" -Level 5 +$reportVS = @' +``` +To use Visual Studio 2019 by default rename the app: +mv "/Applications/Visual Studio.app" "/Applications/Visual Studio 2022.app" +mv "/Applications/Visual Studio 2019.app" "/Applications/Visual Studio.app" +``` +'@ +$markdown += New-MDParagraph -Lines $reportVS +} $markdown += New-MDHeader "Xamarin bundles" -Level 4 $markdown += Build-XamarinTable | New-MDTable