InABox.Client.RPC.csproj 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <OutputType>Library</OutputType>
  4. <Nullable>enable</Nullable>
  5. <Configurations>Debug;Release;Publish</Configurations>
  6. <Platforms>AnyCPU</Platforms>
  7. </PropertyGroup>
  8. <PropertyGroup>
  9. <!-- Default for Windows/Linux (and anything non-macOS): -->
  10. <TargetFrameworks>net8.0;netstandard2.1</TargetFrameworks>
  11. </PropertyGroup>
  12. <PropertyGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))">
  13. <!-- On macOS, include iOS as well: -->
  14. <TargetFrameworks>net8.0-ios;net8.0;netstandard2.1</TargetFrameworks>
  15. </PropertyGroup>
  16. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  17. <DefineConstants>$(DefineConstants);TRACE;PURGE</DefineConstants>
  18. <!-- Only pack when explicitly requested; do NOT pack when being built for an app's RID -->
  19. <GeneratePackageOnBuild Condition="'$(RuntimeIdentifier)' == '' and '$(IsPacking)' == 'true'">true</GeneratePackageOnBuild>
  20. </PropertyGroup>
  21. <ItemGroup>
  22. <ProjectReference Include="..\InABox.Formatters.Core\InABox.Formatters.Core.csproj" />
  23. <ProjectReference Include="..\InABox.RPC.Shared\InABox.RPC.Shared.csproj" />
  24. </ItemGroup>
  25. <ItemGroup>
  26. <PackageReference Include="H.Formatters" Version="15.0.0" />
  27. <PackageReference Include="H.Pipes" Version="15.0.0" />
  28. <PackageReference Include="WebSocket4Net" Version="0.15.2" />
  29. </ItemGroup>
  30. </Project>