mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-15 00:15:15 +08:00
* Added dotnet 7 support/builds. * Added NETCOREAPP_3_1_OR_GREATER where applicable.
38 lines
1.4 KiB
XML
38 lines
1.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<OutputType>Exe</OutputType>
|
|
<DebugType>Full</DebugType>
|
|
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
|
|
<LangVersion>7.2</LangVersion>
|
|
<IsPackable>false</IsPackable>
|
|
<EnableNETAnalyzers>false</EnableNETAnalyzers>
|
|
<EnforceCodeStyleInBuild>false</EnforceCodeStyleInBuild>
|
|
<DisableImplicitAspNetCoreAnalyzers>true</DisableImplicitAspNetCoreAnalyzers>
|
|
<NoWarn>1591;NETSDK1138</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="BenchmarkDotNet" Version="0.13.2" />
|
|
<PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
|
|
<PackageReference Include="System.IO.Pipelines" Version="5.0.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
|
|
<PackageReference Include="System.IO.Pipelines" Version="5.0.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
|
|
<PackageReference Include="System.IO.Pipelines" Version="7.0.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\Source\MQTTnet.AspnetCore\MQTTnet.AspNetCore.csproj" />
|
|
<ProjectReference Include="..\MQTTnet.Tests\MQTTnet.Tests.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project> |