mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-15 00:15:15 +08:00
* Add dotnet10 as target framework and fix breaking changes * Fix tests * Fix tests for CI * Fix typo
56 lines
2.3 KiB
XML
56 lines
2.3 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
|
|
<Product>MQTTnet</Product>
|
|
<Authors>The contributors of MQTTnet</Authors>
|
|
<Company>The contributors of MQTTnet</Company>
|
|
<Copyright>Copyright (c) .NET Foundation and Contributors</Copyright>
|
|
|
|
<DelaySign>false</DelaySign>
|
|
<SignAssembly>false</SignAssembly>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<EnforceCodeStyleInBuild>false</EnforceCodeStyleInBuild>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>disable</Nullable>
|
|
|
|
<NeutralLanguage>en-US</NeutralLanguage>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<NoWarn>1591;NETSDK1138;NU1803;NU1901;NU1902</NoWarn>
|
|
|
|
<NuGetAuditMode>all</NuGetAuditMode>
|
|
<NuGetAudit>true</NuGetAudit>
|
|
<NuGetAuditLevel>low</NuGetAuditLevel>
|
|
|
|
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
|
<AnalysisLevel>latest</AnalysisLevel>
|
|
<AnalysisMode>recommended</AnalysisMode>
|
|
<AnalysisModeStyle>default</AnalysisModeStyle>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
|
|
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(GeneratePackageOnBuild)'=='true'">
|
|
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
|
<PackageIcon>nuget.png</PackageIcon>
|
|
<PackageProjectUrl>https://github.com/dotnet/MQTTnet</PackageProjectUrl>
|
|
<RepositoryUrl>https://github.com/dotnet/MQTTnet.git</RepositoryUrl>
|
|
<RepositoryType>git</RepositoryType>
|
|
<IncludeSymbols>true</IncludeSymbols>
|
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
|
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
|
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup Condition="'$(GeneratePackageOnBuild)'=='true'">
|
|
<None Include="README.md" Pack="true" PackagePath="" Condition="Exists('README.md')" />
|
|
<None Include="..\..\Images\nuget.png" Pack="true" PackagePath="" />
|
|
<None Include="..\..\LICENSE" Pack="true" PackagePath="" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(IncludeSymbols)'=='true'">
|
|
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>
|
|
</ItemGroup>
|
|
</Project>
|