This repository has been archived by the owner on Nov 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 511
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a .vsconfig file with dependencies for Visual Studio 2019 Preview (Windows 10 SDK, MSBuild with its dependencies, and MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.22) aka Microsoft.VisualStudio.Component.VC.Tools.x86.x64), minimum requirement for building with buildscripts/build.cmd. Added a script at buildscripts/install-reqs-vs2019preview.cmd that depends on Visual Studio 2019 Preview and vs_installer.exe being installed at %ProgramFiles(x86)%\Microsoft Visual Studio. Closes #7417
- Loading branch information
1 parent
24874c0
commit c290c01
Showing
5 changed files
with
36 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"version": "1.0", | ||
"components": [ | ||
"Microsoft.VisualStudio.Component.CoreEditor", | ||
"Microsoft.VisualStudio.Workload.CoreEditor", | ||
"Microsoft.VisualStudio.Component.Roslyn.Compiler", | ||
"Microsoft.Component.MSBuild", | ||
"Microsoft.VisualStudio.Component.VC.Tools.x86.x64", | ||
"Microsoft.VisualStudio.Component.Windows10SDK.17763", | ||
"Microsoft.Net.Component.4.6.TargetingPack" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@if not defined _echo @echo off | ||
setlocal | ||
|
||
set _VSINSTALLER="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vs_installer.exe" | ||
if not exist %_VSINSTALLER% ( | ||
echo Visual Studio installer not found. && echo Expected at %_VSINSTALLER% && exit /b 1 | ||
) | ||
set _VSWHERE="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" | ||
if exist %_VSWHERE% ( | ||
for /f "usebackq tokens=*" %%i in (`%_VSWHERE% -latest -prerelease -property installationPath -products *`) do set _VSPATH="%%i" | ||
) | ||
if not exist %_VSPATH% ( | ||
echo Visual Studio installation not found. && exit /b 2 | ||
) | ||
|
||
%_VSINSTALLER% modify %* --installPath %_VSPATH% --config "%~dp0..\.vsconfig" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters