Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit 0467659

Browse files
authored
Use PackageLicenseExpression instead of URL (#42277)
1 parent 281e5da commit 0467659

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

Directory.Build.props

-7
Original file line numberDiff line numberDiff line change
@@ -197,13 +197,6 @@
197197

198198
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
199199

200-
<PropertyGroup Condition="'$(CopyrightNetFoundation)' != ''">
201-
<Copyright>$(CopyrightNetFoundation)</Copyright>
202-
<!-- Temporarily disable PackageLicenseExpression until we can workaround
203-
https://github.com/NuGet/Home/issues/7894 -->
204-
<!-- PackageLicenseExpression>MIT</PackageLicenseExpression -->
205-
</PropertyGroup>
206-
207200
<!-- Import packaging props -->
208201
<Import Project="$(RepositoryEngineeringDir)Packaging.props" />
209202

eng/Packaging.props

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
<RuntimeIdGraphDefinitionFile>$(RepoRoot)pkg/Microsoft.NETCore.Platforms/runtime.json</RuntimeIdGraphDefinitionFile>
77
<ReleaseNotes>https://go.microsoft.com/fwlink/?LinkID=799421</ReleaseNotes>
88
<ProjectUrl>https://github.com/dotnet/corefx</ProjectUrl>
9-
<LicenseUrl>https://github.com/dotnet/corefx/blob/master/LICENSE.TXT</LicenseUrl>
9+
<Copyright>$(CopyrightNetFoundation)</Copyright>
10+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1011
<!-- defined in buildtools packaging.targets, but we need this before targets are imported -->
1112
<PackagePlatform Condition="'$(PackagePlatform)' == ''">$(Platform)</PackagePlatform>
1213
<PackagePlatform Condition="'$(PackagePlatform)' == 'amd64'">x64</PackagePlatform>

0 commit comments

Comments
 (0)