From 7feed03254aa532904be752d17a27f6deaeb4352 Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Wed, 14 Oct 2026 13:37:23 -0700 Subject: [PATCH] Use VS 18 environment for Roslyn analyzers Update the custom Guardian setup command to match the Visual Studio 18 installation provided by VSEng-MicroBuildVSStable agents. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2dd9eb33-94a3-461a-8ce3-fd9d5ea5891f --- eng/pipelines/tasks/CSharp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/tasks/CSharp.yml b/eng/pipelines/tasks/CSharp.yml index c78cbd482..4d96920a4 100644 --- a/eng/pipelines/tasks/CSharp.yml +++ b/eng/pipelines/tasks/CSharp.yml @@ -6,6 +6,6 @@ steps: msBuildVersion: 17.0 msBuildArchitecture: amd64 setupCommandLine: | - "%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsMSBuildCmd.bat" + "%ProgramFiles%\Microsoft Visual Studio\18\Enterprise\Common7\Tools\VsMSBuildCmd.bat" msBuildCommandline: | msbuild $(Build.SourcesDirectory)\src\MIDebugEngine.sln /p:Platform="Any CPU" /p:Configuration="Release" \ No newline at end of file