Files
runner-images/images/win/post-generation/VSConfiguration.ps1
T

8 lines
431 B
PowerShell
Raw Normal View History

$vsInstallRoot = (Get-VisualStudioInstance).InstallationPath
2020-09-29 18:13:37 +03:00
$devEnvPath = "$vsInstallRoot\Common7\IDE\devenv.exe"
# Initialize Visual Studio Experimental Instance
# The Out-Null cmdlet is required to ensure PowerShell waits until the '/ResetSettings' command fully completes.
& "$devEnvPath" /RootSuffix Exp /ResetSettings General.vssettings /Command File.Exit | Out-Null
2020-09-29 18:13:37 +03:00
cmd.exe /c "`"$devEnvPath`" /updateconfiguration"