File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -349,6 +349,10 @@ stages:
349
349
steps :
350
350
- checkout : self
351
351
clean : true
352
+
353
+ - powershell : eng\SetupVSHive.ps1
354
+ displayName : Setup VS Hive
355
+
352
356
- script : eng\CIBuild.cmd -compressallmetadata -configuration $(_configuration) -$(_testKind)
353
357
displayName : Build / Test
354
358
- task : PublishTestResults@2
Original file line number Diff line number Diff line change
1
+ . $PSScriptRoot \common\tools.ps1
2
+
3
+ $vsInfo = LocateVisualStudio
4
+ if ($null -eq $vsInfo ) {
5
+ throw " Unable to locate required Visual Studio installation"
6
+ }
7
+
8
+ $vsDir = $vsInfo.installationPath.TrimEnd (" \" )
9
+
10
+ $vsRegEdit = Join-Path (Join-Path (Join-Path $vsDir ' Common7' ) ' IDE' ) ' VSRegEdit.exe'
11
+
12
+ $hive = " RoslynDev"
13
+ & $vsRegEdit set " $vsDir " $hive HKCU " Roslyn\Internal\OnOff\Features" OOP64Bit dword 0
14
+
15
+ Write-Host " -- VS Info --"
16
+ $isolationIni = Join-Path (Join-Path (Join-Path $vsDir ' Common7' ) ' IDE' ) ' devenv.isolation.ini'
17
+ Get-Content $isolationIni | Write-Host
18
+ Write-Host " -- /VS Info --"
You can’t perform that action at this time.
0 commit comments