summaryrefslogtreecommitdiff
path: root/src/.nuget/dir.targets
diff options
context:
space:
mode:
Diffstat (limited to 'src/.nuget/dir.targets')
-rw-r--r--src/.nuget/dir.targets18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/.nuget/dir.targets b/src/.nuget/dir.targets
index 49e550a4b7..447b071a56 100644
--- a/src/.nuget/dir.targets
+++ b/src/.nuget/dir.targets
@@ -32,10 +32,10 @@
<ItemGroup Condition="'$(HasCrossTargetComponents)'=='true'">
<NativeWithSymbolFile Include="@(CrossArchitectureSpecificNativeFileAndSymbol)">
- <TargetPath>runtimes/$(CrossTargetComponentFolder)_$(PackagePlatform)/native</TargetPath>
+ <TargetPath>runtimes/$(CrossTargetComponentFolder)_$(Platform)/native</TargetPath>
</NativeWithSymbolFile>
<NativeWithSymbolFile Include="@(CrossArchitectureSpecificToolFile)">
- <TargetPath>tools/$(CrossTargetComponentFolder)_$(PackagePlatform)</TargetPath>
+ <TargetPath>tools/$(CrossTargetComponentFolder)_$(Platform)</TargetPath>
</NativeWithSymbolFile>
</ItemGroup>
@@ -84,5 +84,19 @@
</ItemGroup>
</Target>
+ <!-- OverrideLicenseUrl is temporary till we update the buildtools to v2 -->
+ <Target Name="OverrideLicenseUrl" BeforeTargets="GenerateNuSpec">
+ <PropertyGroup>
+ <LicenseUrl>https://github.com/dotnet/coreclr/blob/master/LICENSE.TXT</LicenseUrl>
+ </PropertyGroup>
+ </Target>
+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)\.., dir.targets))\dir.targets" />
+ <ItemGroup>
+ <!-- Add version file to packages -->
+ <File Condition="Exists('$(SyncInfoFile)')"
+ Include="$(SyncInfoFile)">
+ <SkipPackageFileCheck>true</SkipPackageFileCheck>
+ </File>
+ </ItemGroup>
</Project>