diff options
author | Jarret Shook <jashoo@microsoft.com> | 2019-05-31 05:07:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-31 05:07:50 +0300 |
commit | 1ddda582adc8a07aa24167c50594c3d07c4d26b5 (patch) | |
tree | d1ad24b74c0cf887ae7b8cc02a8c4d22f9d2ba67 /eng/empty.csproj | |
parent | 3a0ad75d3e02d9edbed60805e279b52b1efe5001 (diff) |
Fix dotnet/coreclr#24867 (dotnet/coreclr#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.
Commit migrated from https://github.com/dotnet/coreclr/commit/c6d6fc20a597b01ad0e2745b6933ca216746e7df
Diffstat (limited to 'eng/empty.csproj')
-rw-r--r-- | eng/empty.csproj | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/eng/empty.csproj b/eng/empty.csproj new file mode 100644 index 00000000000..0bd280da02f --- /dev/null +++ b/eng/empty.csproj @@ -0,0 +1,15 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <!-- This project exists purely to work around Arcade + behavior. Arcade knows how to restore tasks needed for + publishing to blob feeds, but it requires a project file that + imports nuget restore targets to be specified for this to + work. See details in + https://github.com/dotnet/arcade/commit/f657be5cb7cd4920334dd9162173b131211a1e17#r31728598. + --> + + <PropertyGroup> + <TargetFramework>netcoreapp2.0</TargetFramework> + </PropertyGroup> + +</Project> |