summaryrefslogtreecommitdiff
path: root/build.cmd
diff options
context:
space:
mode:
authorJarret Shook <jashoo@microsoft.com>2019-05-30 19:07:50 -0700
committerGitHub <noreply@github.com>2019-05-30 19:07:50 -0700
commitc6d6fc20a597b01ad0e2745b6933ca216746e7df (patch)
treeccc5d02608cef241e0fe6ba7ea1036d1b9bcfc05 /build.cmd
parent82bd51f001c8df3def3b327bb31fc7611539cbd8 (diff)
downloadcoreclr-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.cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.cmd b/build.cmd
index de8bc7c686..1e2030c124 100644
--- a/build.cmd
+++ b/build.cmd
@@ -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 (