Skip to content

Commit

Permalink
PackageLicense: Removes PackageLicenseUrl and Adds PackageLicenseFile…
Browse files Browse the repository at this point in the history
… since PackageLicenseUrl is deprecated (#3847)

* proposal to add PackageLicenseFile since PackageLicenseUrl is deprecated. NuGet/Home#4628

* adding attribute Visible=false
  • Loading branch information
philipthomas-MSFT committed May 16, 2023
1 parent aff7349 commit 1a8b7f0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
<PackageId>Microsoft.Azure.Cosmos</PackageId>
<PackageTags>microsoft;azure;cosmos;cosmosdb;documentdb;docdb;nosql;azureofficial;dotnetcore;netcore;netstandard</PackageTags>
<PackageReleaseNotes>The change log for this SDK is made available at https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/changelog.md at the time of release.</PackageReleaseNotes>
<PackageLicenseUrl>https://aka.ms/netcoregaeula</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/Azure/azure-cosmos-dotnet-v3</PackageProjectUrl>
<PublishRepositoryUrl Condition=" '$(ProjectRef)' != 'True' ">true</PublishRepositoryUrl>
<PackageIconUrl>http://go.microsoft.com/fwlink/?LinkID=288890</PackageIconUrl>
Expand All @@ -43,8 +42,13 @@
<NoWarn>NU5125</NoWarn>
<Optimize Condition="'$(Configuration)'=='Release'">true</Optimize>
<LangVersion>$(LangVersion)</LangVersion>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\LICENSE" Pack="true" PackagePath="" Visible="false"/>
</ItemGroup>

<ItemGroup>
<AdditionalFiles Include="stylecop.json" />
<None Include="Icon.png" Pack="true" PackagePath="\" />
Expand Down

0 comments on commit 1a8b7f0

Please sign in to comment.