MeloongCore.csproj 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>netstandard2.0</TargetFramework>
  4. <OutputType>Library</OutputType>
  5. <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
  6. <OutDir>bin\</OutDir>
  7. <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
  8. <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
  9. <Configurations>Debug;Release;Snapshot</Configurations>
  10. <Deterministic>true</Deterministic>
  11. <LangVersion>13.0</LangVersion>
  12. <Nullable>enable</Nullable>
  13. <ImplicitUsings>enable</ImplicitUsings>
  14. </PropertyGroup>
  15. <ItemGroup>
  16. <PackageReference Include="PolySharp" Version="1.15.0">
  17. <PrivateAssets>all</PrivateAssets>
  18. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  19. </PackageReference>
  20. </ItemGroup>
  21. <ItemGroup>
  22. <Using Include="System.Diagnostics.CodeAnalysis" />
  23. <Using Include="System.Collections" />
  24. <Using Include="System.Collections.Generic" />
  25. <Using Include="System.Text" />
  26. <Using Include="System.Net" />
  27. <Using Include="System.Runtime.CompilerServices" />
  28. <Using Include="System.Runtime.InteropServices" />
  29. <Using Include="MeloongCore.Extensions" />
  30. </ItemGroup>
  31. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
  32. <DefineConstants>$(DefineConstants);SNAPSHOT</DefineConstants>
  33. </PropertyGroup>
  34. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'" />
  35. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Snapshot|AnyCPU'">
  36. <Optimize>True</Optimize>
  37. </PropertyGroup>
  38. </Project>