PRSClasses.csproj 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <RootNamespace>Comal.Classes</RootNamespace>
  4. <Nullable>enable</Nullable>
  5. <Configurations>Debug;Release;Test;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)' == 'Debug' ">
  17. <DefineConstants>TRACE;</DefineConstants>
  18. </PropertyGroup>
  19. <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
  20. <DefineConstants>$(DefineConstants);TRACE;PURGE</DefineConstants>
  21. <!-- Only pack when explicitly requested; do NOT pack when being built for an app's RID -->
  22. <GeneratePackageOnBuild Condition="'$(RuntimeIdentifier)' == '' and '$(IsPacking)' == 'true'">true</GeneratePackageOnBuild>
  23. </PropertyGroup>
  24. <ItemGroup>
  25. <None Remove=".gitignore" />
  26. <None Remove="PRSClasses\**" />
  27. </ItemGroup>
  28. <ItemGroup>
  29. <Compile Remove="PRSClasses\**" />
  30. </ItemGroup>
  31. <ItemGroup>
  32. <EmbeddedResource Remove="PRSClasses\**" />
  33. </ItemGroup>
  34. <ItemGroup>
  35. <Compile Remove="Entities\Product\ProductForecast.cs" />
  36. </ItemGroup>
  37. <ItemGroup>
  38. <PackageReference Include="AutoProperties.Fody" Version="1.25.0" />
  39. <PackageReference Include="Fody" Version="6.9.2" PrivateAssets="all">
  40. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  41. </PackageReference>
  42. <PackageReference Include="PropertyChanged.Fody" Version="4.1.0" />
  43. </ItemGroup>
  44. <ItemGroup>
  45. <ProjectReference Include="..\..\inabox\InABox.Core\InABox.Core.csproj" />
  46. <ProjectReference Include="..\..\inabox\InABox.Integration\InABox.Integration.csproj" />
  47. </ItemGroup>
  48. </Project>