MeloongCore.Tests.csproj 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net48</TargetFramework>
  4. <OutputType>Exe</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. <None Remove="TestFiles\FileUtils\DotDot ZipSlip.zip" />
  20. <None Remove="TestFiles\FileUtils\AbsPath ZipSlip.zip" />
  21. </ItemGroup>
  22. <ItemGroup>
  23. <PackageReference Include="System.IO.Compression" Version="4.3.0" />
  24. <PackageReference Include="TUnit" Version="1.43.38" />
  25. <PackageReference Include="PolySharp" Version="1.15.0">
  26. <PrivateAssets>all</PrivateAssets>
  27. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  28. </PackageReference>
  29. </ItemGroup>
  30. <ItemGroup>
  31. <Content Include="TestFiles\FileUtils\Corrupted.zip">
  32. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  33. </Content>
  34. <Content Include="TestFiles\FileUtils\GB Encoding.zip">
  35. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  36. </Content>
  37. <Content Include="TestFiles\FileUtils\GZ.gz">
  38. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  39. </Content>
  40. <Content Include="TestFiles\FileUtils\UTF8 Encoding.zip">
  41. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  42. </Content>
  43. <Content Include="TestFiles\FileUtils\Not zip.zip">
  44. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  45. </Content>
  46. <Content Include="TestFiles\FileUtils\DotDot ZipSlip.zip">
  47. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  48. </Content>
  49. <Content Include="TestFiles\FileUtils\AbsPath ZipSlip.zip">
  50. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  51. </Content>
  52. </ItemGroup>
  53. <ItemGroup>
  54. <Using Include="System.Diagnostics.CodeAnalysis" />
  55. <Using Include="System.Collections" />
  56. <Using Include="System.Collections.Generic" />
  57. <Using Include="System.Collections.Concurrent" />
  58. <Using Include="System.Text" />
  59. <Using Include="System.Net" />
  60. <Using Include="System.Runtime.CompilerServices" />
  61. <Using Include="System.Runtime.InteropServices" />
  62. <Using Include="MeloongCore" />
  63. <Using Include="MeloongCore.Extensions" />
  64. <Using Include="MeloongCore.Tests" />
  65. </ItemGroup>
  66. <ItemGroup>
  67. <ProjectReference Include="..\Shared\MeloongCore.csproj" />
  68. <ProjectReference Include="..\Wpf\MeloongCore.Wpf.csproj" />
  69. </ItemGroup>
  70. <ItemGroup>
  71. <Reference Include="PresentationFramework" />
  72. </ItemGroup>
  73. </Project>