Skip to content

Commit 84da668

Browse files
committed
Update the License Url for packages
1 parent c975ecc commit 84da668

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Packaging.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<!-- by default all packages will use the same version which revs with respect to product version -->
2323
<PackageVersion Condition="'$(PackageVersion)' == ''">4.4.0</PackageVersion>
2424
<SkipValidatePackageTargetFramework>true</SkipValidatePackageTargetFramework>
25+
<LicenseUrl>https://github.com/dotnet/corefx/blob/master/LICENSE</LicenseUrl>
2526
</PropertyGroup>
2627

2728
<Import Condition="Exists('pkg/baseline/baseline.props') AND '$(MSBuildProjectExtension)' == '.pkgproj'" Project="pkg/baseline/baseline.props" />

dir.targets

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,13 @@
107107
</ItemGroup>
108108
</Target>
109109

110+
<!-- OverrideLicenseUrl is temporary till we update the buildtools to v2 -->
111+
<Target Name="OverrideLicenseUrl" BeforeTargets="GenerateNuSpec">
112+
<PropertyGroup>
113+
<LicenseUrl>https://github.com/dotnet/corefx/blob/master/LICENSE</LicenseUrl>
114+
</PropertyGroup>
115+
</Target>
116+
110117
<!-- This import is needed because we're still using project.json to restore packages.
111118
Once we switch to MSBuild it will automatically handle target imports from the packages themselves. -->
112119
<Import Condition="'$(TargetGroup)'=='netstandard2.0' and Exists('$(PackagesDir)NETStandard.Library\2.0.0-$(StandardExpectedPrerelease)\build\netstandard2.0\NETStandard.Library.targets')"

0 commit comments

Comments
 (0)