mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 01:03:01 +08:00
66 lines
2.8 KiB
XML
66 lines
2.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>netstandard1.3;netstandard2.0</TargetFrameworks>
|
|
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net452;net461</TargetFrameworks>
|
|
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' AND '$(MSBuildRuntimeType)' != 'Core'">$(TargetFrameworks);uap10.0</TargetFrameworks>
|
|
<AssemblyName>MQTTnet</AssemblyName>
|
|
<RootNamespace>MQTTnet</RootNamespace>
|
|
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
|
|
<Company />
|
|
<Product />
|
|
<Description />
|
|
<Authors />
|
|
<PackageId />
|
|
<SignAssembly>false</SignAssembly>
|
|
<DelaySign>false</DelaySign>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(TargetFramework)'=='uap10.0'">
|
|
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
|
|
<NugetTargetMoniker>UAP,Version=v10.0</NugetTargetMoniker>
|
|
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
|
|
<TargetPlatformVersion>10.0.17134.0</TargetPlatformVersion>
|
|
<TargetPlatformMinVersion>10.0.10586.212</TargetPlatformMinVersion>
|
|
<TargetFrameworkIdentifier>.NETCore</TargetFrameworkIdentifier>
|
|
<TargetFrameworkVersion>v5.0</TargetFrameworkVersion>
|
|
<DefineConstants>$(DefineConstants);WINDOWS_UWP</DefineConstants>
|
|
<DefaultLanguage>en</DefaultLanguage>
|
|
<LanguageTargets>$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets</LanguageTargets>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
|
|
<DebugType>Full</DebugType>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'" />
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard1.3|AnyCPU'">
|
|
<DefineConstants>RELEASE;NETSTANDARD1_3</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
|
|
<PackageReference Include="System.Net.Security" Version="4.3.2" />
|
|
<PackageReference Include="System.Net.WebSockets" Version="4.3.0" />
|
|
<PackageReference Include="System.Net.WebSockets.Client" Version="4.3.2" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)'=='netstandard1.3'">
|
|
<PackageReference Include="System.Net.Security" Version="4.3.2" />
|
|
<PackageReference Include="System.Net.WebSockets" Version="4.3.0" />
|
|
<PackageReference Include="System.Net.WebSockets.Client" Version="4.3.2" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)'=='uap10.0'">
|
|
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="6.1.5" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)'=='net452'">
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)'=='net461'">
|
|
</ItemGroup>
|
|
|
|
</Project> |