diff options
-rw-r--r-- | dir.props | 1 | ||||
-rw-r--r-- | src/.nuget/dir.targets | 7 |
2 files changed, 8 insertions, 0 deletions
@@ -138,6 +138,7 @@ <!-- Packaging properties --> <PropertyGroup> + <LicenseUrl>https://github.com/dotnet/corefx/blob/master/LICENSE</LicenseUrl> <PreReleaseLabel>preview2</PreReleaseLabel> <PackageDescriptionFile>$(SourceDir).nuget/descriptions.json</PackageDescriptionFile> <PackageLicenseFile>$(SourceDir).nuget/dotnet_library_license.txt</PackageLicenseFile> diff --git a/src/.nuget/dir.targets b/src/.nuget/dir.targets index 8628a0d29b..a488694245 100644 --- a/src/.nuget/dir.targets +++ b/src/.nuget/dir.targets @@ -84,5 +84,12 @@ </ItemGroup> </Target> + <!-- OverrideLicenseUrl is temporary till we update the buildtools to v2 --> + <Target Name="OverrideLicenseUrl" BeforeTargets="GenerateNuSpec"> + <PropertyGroup> + <LicenseUrl>https://github.com/dotnet/corefx/blob/master/LICENSE</LicenseUrl> + </PropertyGroup> + </Target> + <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)\.., dir.targets))\dir.targets" /> </Project> |