MeloongCore.Tests.csproj 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net48</TargetFramework>
  4. <OutputType>Library</OutputType>
  5. <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
  6. <Deterministic>true</Deterministic>
  7. <IsPackable>false</IsPackable>
  8. <LangVersion>13.0</LangVersion>
  9. <Nullable>enable</Nullable>
  10. <ImplicitUsings>enable</ImplicitUsings>
  11. </PropertyGroup>
  12. <ItemGroup>
  13. <None Remove="TestFiles\FileUtils\Corrupted.zip" />
  14. <None Remove="TestFiles\FileUtils\GB Encoding.zip" />
  15. <None Remove="TestFiles\FileUtils\GZ.gz" />
  16. <None Remove="TestFiles\FileUtils\Gzip.gz" />
  17. <None Remove="TestFiles\FileUtils\Not zip.zip" />
  18. <None Remove="TestFiles\FileUtils\UTF8 Encoding.zip" />
  19. </ItemGroup>
  20. <ItemGroup>
  21. <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
  22. <PackageReference Include="System.IO.Compression" Version="4.3.0" />
  23. <PackageReference Include="xunit" Version="2.9.3" />
  24. <PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
  25. <PrivateAssets>all</PrivateAssets>
  26. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  27. </PackageReference>
  28. <PackageReference Include="Nullable" Version="1.3.1">
  29. <PrivateAssets>all</PrivateAssets>
  30. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  31. </PackageReference>
  32. </ItemGroup>
  33. <ItemGroup>
  34. <Content Include="TestFiles\FileUtils\Corrupted.zip">
  35. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  36. </Content>
  37. <Content Include="TestFiles\FileUtils\GB Encoding.zip">
  38. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  39. </Content>
  40. <Content Include="TestFiles\FileUtils\GZ.gz">
  41. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  42. </Content>
  43. <Content Include="TestFiles\FileUtils\UTF8 Encoding.zip">
  44. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  45. </Content>
  46. <Content Include="TestFiles\FileUtils\Not zip.zip">
  47. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  48. </Content>
  49. </ItemGroup>
  50. <ItemGroup>
  51. <Using Include="System.Diagnostics.CodeAnalysis" />
  52. <Using Include="System.Collections" />
  53. <Using Include="System.Collections.Generic" />
  54. <Using Include="System.Text" />
  55. <Using Include="System.Net" />
  56. <Using Include="System.Runtime.CompilerServices" />
  57. <Using Include="System.Runtime.InteropServices" />
  58. <Using Include="MeloongCore" />
  59. <Using Include="MeloongCore.Extensions" />
  60. <Using Include="MeloongCore.Tests" />
  61. <Using Include="Xunit" />
  62. </ItemGroup>
  63. <ItemGroup>
  64. <ProjectReference Include="..\Shared\MeloongCore.csproj" />
  65. <ProjectReference Include="..\Wpf\MeloongCore.Wpf.csproj" />
  66. </ItemGroup>
  67. <ItemGroup>
  68. <Reference Include="PresentationFramework" />
  69. </ItemGroup>
  70. </Project>