You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

66 lines
2.8 KiB

  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFrameworks>netstandard1.3;netstandard2.0</TargetFrameworks>
  4. <TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net452;net461</TargetFrameworks>
  5. <TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' AND '$(MSBuildRuntimeType)' != 'Core'">$(TargetFrameworks);uap10.0</TargetFrameworks>
  6. <AssemblyName>MQTTnet</AssemblyName>
  7. <RootNamespace>MQTTnet</RootNamespace>
  8. <GeneratePackageOnBuild>False</GeneratePackageOnBuild>
  9. <Company />
  10. <Product />
  11. <Description />
  12. <Authors />
  13. <PackageId />
  14. <SignAssembly>false</SignAssembly>
  15. <DelaySign>false</DelaySign>
  16. </PropertyGroup>
  17. <PropertyGroup Condition="'$(TargetFramework)'=='uap10.0'">
  18. <CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
  19. <NugetTargetMoniker>UAP,Version=v10.0</NugetTargetMoniker>
  20. <TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
  21. <TargetPlatformVersion>10.0.17134.0</TargetPlatformVersion>
  22. <TargetPlatformMinVersion>10.0.10586.212</TargetPlatformMinVersion>
  23. <TargetFrameworkIdentifier>.NETCore</TargetFrameworkIdentifier>
  24. <TargetFrameworkVersion>v5.0</TargetFrameworkVersion>
  25. <DefineConstants>$(DefineConstants);WINDOWS_UWP</DefineConstants>
  26. <DefaultLanguage>en</DefaultLanguage>
  27. <LanguageTargets>$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets</LanguageTargets>
  28. </PropertyGroup>
  29. <PropertyGroup Condition="'$(Configuration)'=='Debug'">
  30. <DebugType>Full</DebugType>
  31. </PropertyGroup>
  32. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'" />
  33. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
  34. <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard1.3|AnyCPU'">
  35. <DefineConstants>RELEASE;NETSTANDARD1_3</DefineConstants>
  36. </PropertyGroup>
  37. <ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
  38. <PackageReference Include="System.Net.Security" Version="4.3.2" />
  39. <PackageReference Include="System.Net.WebSockets" Version="4.3.0" />
  40. <PackageReference Include="System.Net.WebSockets.Client" Version="4.3.2" />
  41. </ItemGroup>
  42. <ItemGroup Condition="'$(TargetFramework)'=='netstandard1.3'">
  43. <PackageReference Include="System.Net.Security" Version="4.3.2" />
  44. <PackageReference Include="System.Net.WebSockets" Version="4.3.0" />
  45. <PackageReference Include="System.Net.WebSockets.Client" Version="4.3.2" />
  46. </ItemGroup>
  47. <ItemGroup Condition="'$(TargetFramework)'=='uap10.0'">
  48. <PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="6.1.5" />
  49. </ItemGroup>
  50. <ItemGroup Condition="'$(TargetFramework)'=='net452'">
  51. </ItemGroup>
  52. <ItemGroup Condition="'$(TargetFramework)'=='net461'">
  53. </ItemGroup>
  54. </Project>