Skip to content

Commit f531f08

Browse files
committed
Fix package id with the AssemblyName customized.
1 parent c36542c commit f531f08

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Components/Aspire.RabbitMQ.Client.v7/Aspire.RabbitMQ.Client.v7.csproj

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@
33
<PropertyGroup>
44
<TargetFramework>$(DefaultTargetFramework)</TargetFramework>
55
<IsPackable>true</IsPackable>
6-
<AssemblyName>Aspire.RabbitMQ.Client</AssemblyName>
76
<PackageTags>$(ComponentDatabasePackageTags) rabbitmq amqp</PackageTags>
87
<Description>A RabbitMQ client (version 7+) that integrates with Aspire, including health checks, logging, and telemetry.</Description>
98
<MinCodeCoverage>80</MinCodeCoverage>
109
<NoWarn>$(NoWarn);SYSLIB1100;SYSLIB1101</NoWarn>
1110
<!-- Disable package validation as this package hasn't shipped yet. -->
1211
<EnablePackageValidation>false</EnablePackageValidation>
12+
13+
<!-- Keep the same assembly name as the main library. -->
14+
<AssemblyName>Aspire.RabbitMQ.Client</AssemblyName>
15+
<!-- PackageId defaults to AssemblyName, so need to reset it. -->
16+
<PackageId>$(MSBuildProjectName)</PackageId>
1317
</PropertyGroup>
1418

1519
<ItemGroup>

0 commit comments

Comments
 (0)