MeloongCore.Tests.csproj 3.2 KB

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