InABox.RPC.Shared.csproj 1.1 KB

123456789101112131415161718192021222324252627282930
  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. <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
  19. </PropertyGroup>
  20. <ItemGroup>
  21. <ProjectReference Include="..\InABox.Core\InABox.Core.csproj" />
  22. <ProjectReference Include="..\InABox.Formatters.Core\InABox.Formatters.Core.csproj" />
  23. </ItemGroup>
  24. </Project>