|
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + |
| 3 | + <PropertyGroup> |
| 4 | + <ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally> |
| 5 | + <TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks> |
| 6 | + <NoWarn>$(NoWarn);CS1591</NoWarn> |
| 7 | + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> |
| 8 | + <AssemblyTitle>RabbitMQ OAuth2 Client Library for .NET</AssemblyTitle> |
| 9 | + <Authors>Broadcom</Authors> |
| 10 | + <Company>Broadcom, Inc. and/or its subsidiaries.</Company> |
| 11 | + <Copyright>Copyright (c) 2007-2025 Broadcom. All Rights Reserved. The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.</Copyright> |
| 12 | + <Description>The RabbitMQ OAuth2 Client Library for .NET enables OAuth2 token refresh for RabbitMQ.Client</Description> |
| 13 | + <GenerateDocumentationFile>true</GenerateDocumentationFile> |
| 14 | + <PackageIcon>icon.png</PackageIcon> |
| 15 | + <PackageLicenseExpression>Apache-2.0 OR MPL-2.0</PackageLicenseExpression> |
| 16 | + <PackageProjectUrl>https://www.rabbitmq.com/dotnet.html</PackageProjectUrl> |
| 17 | + <PackageTags>rabbitmq, amqp, oauth2</PackageTags> |
| 18 | + <Product>RabbitMQ</Product> |
| 19 | + <PublishRepositoryUrl>true</PublishRepositoryUrl> |
| 20 | + <RepositoryUrl>https://github.com/rabbitmq/rabbitmq-dotnet-client.git</RepositoryUrl> |
| 21 | + <IncludeSymbols>true</IncludeSymbols> |
| 22 | + <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
| 23 | + <AssemblyOriginatorKeyFile>../rabbit.snk</AssemblyOriginatorKeyFile> |
| 24 | + <SignAssembly>true</SignAssembly> |
| 25 | + <IsPackable>true</IsPackable> |
| 26 | + <MinVerTagPrefix>oauth2-</MinVerTagPrefix> |
| 27 | + <MinVerVerbosity>minimal</MinVerVerbosity> |
| 28 | + <GeneratePackageOnBuild>true</GeneratePackageOnBuild> |
| 29 | + <PackageOutputPath>../../packages</PackageOutputPath> |
| 30 | + <PackageReadmeFile>README.md</PackageReadmeFile> |
| 31 | + <!-- |
| 32 | + https://learn.microsoft.com/en-us/answers/questions/1371494/for-net-standard-2-0-library-why-add-net-core-3-1 |
| 33 | + https://devblogs.microsoft.com/dotnet/embracing-nullable-reference-types/#what-should-library-authors-do |
| 34 | + --> |
| 35 | + <LangVersion>12.0</LangVersion> |
| 36 | + <Nullable>enable</Nullable> |
| 37 | + </PropertyGroup> |
| 38 | + |
| 39 | + <PropertyGroup Condition="'$(Configuration)' == 'Release' And '$(CI)' == 'true'"> |
| 40 | + <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> |
| 41 | + <Deterministic>true</Deterministic> |
| 42 | + <EmbedUntrackedSources>true</EmbedUntrackedSources> |
| 43 | + </PropertyGroup> |
| 44 | + |
| 45 | + <ItemGroup Condition="'$(Configuration)' == 'Release' and '$(SourceRoot)' == ''"> |
| 46 | + <SourceRoot Include="$(MSBuildThisFileDirectory)/" /> |
| 47 | + </ItemGroup> |
| 48 | + |
| 49 | + <ItemGroup> |
| 50 | + <None Remove="icon.png" /> |
| 51 | + <Content Include="icon.png" PackagePath="" /> |
| 52 | + <None Include="README.md" Pack="true" PackagePath="/" /> |
| 53 | + <Compile Include="..\RabbitMQ.Client.OAuth2\CredentialsRefresher.cs" Link="CredentialsRefresher.cs" /> |
| 54 | + <Compile Include="..\RabbitMQ.Client.OAuth2\CredentialsRefresherEventSource.cs" Link="CredentialsRefresherEventSource.cs" /> |
| 55 | + <Compile Include="..\RabbitMQ.Client.OAuth2\IOAuth2Client.cs" Link="IOAuth2Client.cs" /> |
| 56 | + <Compile Include="..\RabbitMQ.Client.OAuth2\OAuth2Client.cs" Link="OAuth2Client.cs" /> |
| 57 | + <Compile Include="..\RabbitMQ.Client.OAuth2\OAuth2CredentialsProvider.cs" Link="OAuth2CredentialsProvider.cs" /> |
| 58 | + <Compile Include="..\RabbitMQ.Client.OAuth2\Token.cs" Link="Token.cs" /> |
| 59 | + </ItemGroup> |
| 60 | + |
| 61 | + <ItemGroup Condition="$(TargetFramework) == 'netstandard2.0'"> |
| 62 | + <PackageReference Include="System.Net.Http.Json" Version="[8.0.1,)" /> |
| 63 | + <PackageReference Include="System.Text.Json" Version="[8.0.5,)" /> |
| 64 | + </ItemGroup> |
| 65 | + |
| 66 | + <ItemGroup> |
| 67 | + <PackageReference Include="RabbitMQ.Client" Version="[7.0.0,)" /> |
| 68 | + </ItemGroup> |
| 69 | + |
| 70 | +</Project> |
0 commit comments