diff options
author | Jarret Shook <jashoo@microsoft.com> | 2019-05-30 19:07:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-30 19:07:50 -0700 |
commit | c6d6fc20a597b01ad0e2745b6933ca216746e7df (patch) | |
tree | ccc5d02608cef241e0fe6ba7ea1036d1b9bcfc05 /build.cmd | |
parent | 82bd51f001c8df3def3b327bb31fc7611539cbd8 (diff) | |
download | coreclr-c6d6fc20a597b01ad0e2745b6933ca216746e7df.tar.gz coreclr-c6d6fc20a597b01ad0e2745b6933ca216746e7df.tar.bz2 coreclr-c6d6fc20a597b01ad0e2745b6933ca216746e7df.zip |
Fix #24867 (#24870)
Pre SDK 3.0, a project type that is not .csproj would not include Directory.Build.targets. Change empty.proj to empty.csproj to allow source build, which uses a 2.1 sdk to build, correctly import Directory.Build.targets.
Diffstat (limited to 'build.cmd')
-rw-r--r-- | build.cmd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -362,7 +362,7 @@ REM ============================================================================ @if defined _echo @echo on powershell -NoProfile -ExecutionPolicy ByPass -NoLogo -File "%__ProjectDir%\eng\common\msbuild.ps1"^ - %__ProjectDir%\eng\empty.proj /p:NativeVersionFile="%__RootBinDir%\obj\_version.h"^ + %__ProjectDir%\eng\empty.csproj /p:NativeVersionFile="%__RootBinDir%\obj\_version.h"^ /p:ArcadeBuild=true /t:GenerateNativeVersionFile /restore^ %__CommonMSBuildArgs% %__UnprocessedBuildArgs% if not !errorlevel! == 0 ( |