Skip to content

Commit 0d8c111

Browse files
committed
LICENSE file is required by nuget pack
This error showed up in the internal CI when packing the PR build: ``` /usr/share/dotnet/sdk/3.1.102/Sdks/NuGet.Build.Tasks.Pack/buildCrossTargeting/NuGet.Build.Tasks.Pack.targets(198,5): error NU5030: The license file 'LICENSE' does not exist in the package. [/tmp/build/db7f1294/rabbitmq_dotnet_client/projects/client/RabbitMQ.Client/RabbitMQ.Client.csproj] ```
1 parent 735b010 commit 0d8c111

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

projects/client/RabbitMQ.Client/RabbitMQ.Client.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
3939
<_Parameter1>Unit, PublicKey=00240000048000009400000006020000002400005253413100040000010001008d20ec856aeeb8c3153a77faa2d80e6e43b5db93224a20cc7ae384f65f142e89730e2ff0fcc5d578bbe96fa98a7196c77329efdee4579b3814c0789e5a39b51df6edd75b602a33ceabdfcf19a3feb832f31d8254168cd7ba5700dfbca301fbf8db614ba41ba18474de0a5f4c2d51c995bc3636c641c8cbe76f45717bfcb943b5</_Parameter1>
4040
</AssemblyAttribute>
41+
<None Include="..\..\..\LICENSE">
42+
<Pack>True</Pack>
43+
<PackagePath></PackagePath>
44+
</None>
4145
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" />
4246
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
4347
<PackageReference Include="MinVer" Version="2.2.0">

0 commit comments

Comments
 (0)