Skip to content

Commit 8777717

Browse files
committed
Update to latest MSBuild & VS version
1 parent e6b9ab8 commit 8777717

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

LinqPadless.sln

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 14
4-
VisualStudioVersion = 14.0.25420.1
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.30804.86
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{6C9AA163-DA0D-4BB7-A988-5AAC0D700936}"
77
ProjectSection(SolutionItems) = preProject
@@ -28,4 +28,7 @@ Global
2828
GlobalSection(SolutionProperties) = preSolution
2929
HideSolutionNode = FALSE
3030
EndGlobalSection
31+
GlobalSection(ExtensibilityGlobals) = postSolution
32+
SolutionGuid = {A33F4C91-B43C-4326-B598-784B75CF715D}
33+
EndGlobalSection
3134
EndGlobal

build.cmd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ setlocal
33
if "%PROCESSOR_ARCHITECTURE%"=="x86" set PROGRAMS=%ProgramFiles%
44
if defined ProgramFiles(x86) set PROGRAMS=%ProgramFiles(x86)%
55
for %%e in (Community Professional Enterprise) do (
6-
if exist "%PROGRAMS%\Microsoft Visual Studio\2017\%%e\MSBuild\15.0\Bin\MSBuild.exe" (
7-
set "MSBUILD=%PROGRAMS%\Microsoft Visual Studio\2017\%%e\MSBuild\15.0\Bin\MSBuild.exe"
6+
if exist "%PROGRAMS%\Microsoft Visual Studio\2019\%%e\MSBuild\Current\Bin\MSBuild.exe" (
7+
set "MSBUILD=%PROGRAMS%\Microsoft Visual Studio\2019\%%e\MSBuild\Current\Bin\MSBuild.exe"
88
)
99
)
1010
if exist "%MSBUILD%" goto :restore
@@ -19,8 +19,8 @@ for /f "delims=. tokens=1,2,3,4" %%m in ('msbuild /version /nologo') do (
1919
)
2020
if not defined MSBUILD_VERSION_MAJOR goto :nomsbuild
2121
if not defined MSBUILD_VERSION_MINOR goto :nomsbuild
22-
if %MSBUILD_VERSION_MAJOR% lss 15 goto :nomsbuild
23-
if %MSBUILD_VERSION_MINOR% lss 1 goto :nomsbuild
22+
if %MSBUILD_VERSION_MAJOR% lss 16 goto :nomsbuild
23+
if %MSBUILD_VERSION_MINOR% lss 8 goto :nomsbuild
2424
:restore
2525
for %%i in (NuGet.exe) do set nuget=%%~dpnx$PATH:i
2626
if "%nuget%"=="" (
@@ -40,6 +40,6 @@ setlocal
4040
goto :EOF
4141

4242
:nomsbuild
43-
echo Microsoft Build version 15.1 (or later) does not appear to be
43+
echo Microsoft Build version 16.8 (or later) does not appear to be
4444
echo installed on this machine, which is required to build the solution.
4545
exit /b 1

0 commit comments

Comments
 (0)