mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-15 00:15:15 +08:00
45 lines
1.9 KiB
XML
45 lines
1.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>netstandard1.3;netstandard2.0;netstandard2.1;net5.0</TargetFrameworks>
|
|
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net452;net461</TargetFrameworks>
|
|
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' AND '$(MSBuildRuntimeType)' != 'Core' AND '$(SolutionName)' != 'MQTTnet.noUWP' ">$(TargetFrameworks);uap10.0</TargetFrameworks>
|
|
<Product />
|
|
<Company />
|
|
<Authors />
|
|
<PackageId />
|
|
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
|
|
<SignAssembly>false</SignAssembly>
|
|
<DelaySign>false</DelaySign>
|
|
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
|
<IncludeSymbols>true</IncludeSymbols>
|
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(TargetFramework)' == 'uap10.0'">
|
|
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
|
|
<NugetTargetMoniker>UAP,Version=v10.0</NugetTargetMoniker>
|
|
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
|
|
<TargetPlatformVersion>10.0.18362.0</TargetPlatformVersion>
|
|
<TargetPlatformMinVersion>10.0.10240.0</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>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="WebSocket4Net" Version="0.15.2" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\MQTTnet\MQTTnet.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|