MeloongCore.csproj 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. <AnalysisLevel>latest-recommended</AnalysisLevel>
  14. <EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
  15. <ImplicitUsings>enable</ImplicitUsings>
  16. </PropertyGroup>
  17. <ItemGroup>
  18. <PackageReference Include="Nullable" Version="1.3.1">
  19. <PrivateAssets>all</PrivateAssets>
  20. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  21. </PackageReference>
  22. </ItemGroup>
  23. <ItemGroup>
  24. <Using Include="System.Diagnostics.CodeAnalysis" />
  25. <Using Include="System.Collections" />
  26. <Using Include="System.Collections.Generic" />
  27. <Using Include="System.Text" />
  28. <Using Include="System.Net" />
  29. <Using Include="System.Runtime.CompilerServices" />
  30. <Using Include="System.Runtime.InteropServices" />
  31. <Using Include="MeloongCore.Extensions" />
  32. </ItemGroup>
  33. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
  34. <DefineConstants>$(DefineConstants);SNAPSHOT</DefineConstants>
  35. </PropertyGroup>
  36. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'" />
  37. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Snapshot|AnyCPU'">
  38. <Optimize>True</Optimize>
  39. </PropertyGroup>
  40. </Project>