summaryrefslogtreecommitdiff
path: root/build-test.sh
diff options
context:
space:
mode:
authorJarret Shook <jashoo@microsoft.com>2019-05-31 02:07:50 (GMT)
committerGitHub <noreply@github.com>2019-05-31 02:07:50 (GMT)
commitc6d6fc20a597b01ad0e2745b6933ca216746e7df (patch)
treeccc5d02608cef241e0fe6ba7ea1036d1b9bcfc05 /build-test.sh
parent82bd51f001c8df3def3b327bb31fc7611539cbd8 (diff)
downloadcoreclr-c6d6fc20a597b01ad0e2745b6933ca216746e7df.zip
coreclr-c6d6fc20a597b01ad0e2745b6933ca216746e7df.tar.gz
coreclr-c6d6fc20a597b01ad0e2745b6933ca216746e7df.tar.bz2
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-test.sh')
-rwxr-xr-xbuild-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-test.sh b/build-test.sh
index a6569cb..e2e54c7 100755
--- a/build-test.sh
+++ b/build-test.sh
@@ -490,7 +490,7 @@ build_native_projects()
__versionSourceFile="$intermediatesForBuild/version.c"
if [ $__SkipGenerateVersion == 0 ]; then
pwd
- $__ProjectRoot/eng/common/msbuild.sh $__ProjectRoot/eng/empty.proj \
+ $__ProjectRoot/eng/common/msbuild.sh $__ProjectRoot/eng/empty.csproj \
/p:NativeVersionFile=$__versionSourceFile \
/p:ArcadeBuild=true /t:GenerateNativeVersionFile /restore \
$__CommonMSBuildArgs $__UnprocessedBuildArgs