MeloongCore.Tests.csproj 2.6 KB

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