Skip to content

Commit d65e501

Browse files
JinhuafeiHongGit
authored andcommitted
update Roslyn ref version and build.cmd (#42)
1 parent 5b9ddd4 commit d65e501

2 files changed

Lines changed: 3 additions & 10 deletions

File tree

Build.cmd

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,9 @@ set EnableNuGetPackageRestore=true
66

77
set logOptions=/flp:Summary;Verbosity=normal;LogFile=msbuild.log /flp1:warningsonly;logfile=msbuild.wrn /flp2:errorsonly;logfile=msbuild.err
88

9-
REM Find the most recent 32bit MSBuild.exe on the system. Require v12.0 (installed with VS2013) or later since .NET 4.0
10-
REM is not supported. Always quote the %MSBuild% value when setting the variable and never quote %MSBuild% references.
11-
set MSBuild="%ProgramFiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe"
12-
if not exist %MSBuild% @set MSBuild="%ProgramFiles(x86)%\MSBuild\12.0\Bin\MSBuild.exe"
13-
if not exist %MSBuild% (
14-
echo Could not find msbuild.exe. Please run this from a Visual Studio developer prompt
15-
goto BuildFail
16-
)
9+
echo Please build from VS 2015(or newer version) Developer Command Prompt
1710

18-
%MSBuild% "%~dp0\RoslynCodeProvider.msbuild" %logOptions% /v:minimal /maxcpucount /nodeReuse:false %*
11+
msbuild "%~dp0\RoslynCodeProvider.msbuild" %logOptions% /v:minimal /maxcpucount /nodeReuse:false %*
1912
if %ERRORLEVEL% neq 0 goto BuildFail
2013
goto BuildSuccess
2114

tools/RoslynCodeProvider.settings.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<PropertyGroup Label="NuGet package dependencies">
1515
<MSNetCompilersNuGetPackageVersion>1.3.2</MSNetCompilersNuGetPackageVersion>
16-
<MSNetCompilersNuGetPackageLatestVersion>2.6.1</MSNetCompilersNuGetPackageLatestVersion>
16+
<MSNetCompilersNuGetPackageLatestVersion>2.7.0</MSNetCompilersNuGetPackageLatestVersion>
1717
</PropertyGroup>
1818

1919
<!-- Default properties -->

0 commit comments

Comments
 (0)