UnitTests.csproj 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <!-- Version numbers are automatically updated by gitversion when a release is released -->
  4. <!-- In the source tree the version will always be 2.0 for all projects. -->
  5. <!-- Do not modify these. -->
  6. <AssemblyVersion>2.0</AssemblyVersion>
  7. <FileVersion>2.0</FileVersion>
  8. <Version>2.0</Version>
  9. <InformationalVersion>2.0</InformationalVersion>
  10. </PropertyGroup>
  11. <PropertyGroup>
  12. <IsPackable>false</IsPackable>
  13. <UseDataCollector />
  14. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  15. <DefineTrace>true</DefineTrace>
  16. <DebugType>portable</DebugType>
  17. <DefineConstants>$(DefineConstants);JETBRAINS_ANNOTATIONS;CONTRACTS_FULL</DefineConstants>
  18. <ImplicitUsings>enable</ImplicitUsings>
  19. <NoLogo>true</NoLogo>
  20. <SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
  21. </PropertyGroup>
  22. <PropertyGroup Condition="'$(Configuration)'=='Debug'">
  23. <DefineDebug>true</DefineDebug>
  24. <DefineConstants>$(DefineConstants);DEBUG_IDISPOSABLE</DefineConstants>
  25. </PropertyGroup>
  26. <PropertyGroup Condition="'$(Configuration)'=='Release'">
  27. <Optimize>true</Optimize>
  28. </PropertyGroup>
  29. <ItemGroup>
  30. <PackageReference Include="JetBrains.Annotations" PrivateAssets="all" />
  31. <PackageReference Include="Microsoft.NET.Test.Sdk" />
  32. <PackageReference Include="Moq" />
  33. <PackageReference Include="ReportGenerator" />
  34. <PackageReference Include="TestableIO.System.IO.Abstractions.TestingHelpers" />
  35. <PackageReference Include="xunit" />
  36. <PackageReference Include="Xunit.Combinatorial" />
  37. <PackageReference Include="xunit.runner.visualstudio">
  38. <PrivateAssets>all</PrivateAssets>
  39. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  40. </PackageReference>
  41. <PackageReference Include="coverlet.collector">
  42. <PrivateAssets>all</PrivateAssets>
  43. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  44. </PackageReference>
  45. </ItemGroup>
  46. <ItemGroup>
  47. <ProjectReference Include="..\..\Terminal.Gui\Terminal.Gui.csproj" />
  48. <ProjectReference Include="..\..\Examples\UICatalog\UICatalog.csproj" />
  49. <ProjectReference Include="..\TerminalGuiFluentTesting\TerminalGuiFluentTesting.csproj" />
  50. </ItemGroup>
  51. <ItemGroup>
  52. <None Update="xunit.runner.json">
  53. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  54. </None>
  55. </ItemGroup>
  56. <ItemGroup>
  57. <Using Include="System.Drawing" />
  58. <Using Include="Terminal.Gui" />
  59. <Using Include="Xunit" />
  60. </ItemGroup>
  61. </Project>