UnitTests.Parallelizable.csproj 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. <Compile Remove="ViewBase\**" />
  31. <EmbeddedResource Remove="ViewBase\**" />
  32. <None Remove="ViewBase\**" />
  33. </ItemGroup>
  34. <ItemGroup>
  35. <Compile Include="..\UnitTests\DriverAssert.cs" Link="DriverAssert.cs" />
  36. <Compile Include="..\UnitTests\OutputAssert.cs" Link="OutputAssert.cs" />
  37. </ItemGroup>
  38. <ItemGroup>
  39. <PackageReference Include="JetBrains.Annotations" PrivateAssets="all" />
  40. <PackageReference Include="Microsoft.NET.Test.Sdk" />
  41. <PackageReference Include="Moq" />
  42. <PackageReference Include="ReportGenerator" />
  43. <PackageReference Include="TestableIO.System.IO.Abstractions.TestingHelpers" />
  44. <PackageReference Include="xunit" />
  45. <PackageReference Include="Xunit.Combinatorial" />
  46. <PackageReference Include="xunit.runner.visualstudio">
  47. <PrivateAssets>all</PrivateAssets>
  48. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  49. </PackageReference>
  50. <PackageReference Include="coverlet.collector">
  51. <PrivateAssets>all</PrivateAssets>
  52. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  53. </PackageReference>
  54. </ItemGroup>
  55. <ItemGroup>
  56. <ProjectReference Include="..\..\Examples\UICatalog\UICatalog.csproj" />
  57. <ProjectReference Include="..\..\Terminal.Gui\Terminal.Gui.csproj">
  58. </ProjectReference>
  59. <ProjectReference Include="..\TerminalGuiFluentTesting\TerminalGuiFluentTesting.csproj" />
  60. <ProjectReference Include="..\UnitTests\UnitTests.csproj" />
  61. </ItemGroup>
  62. <ItemGroup>
  63. <None Update="xunit.runner.json">
  64. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  65. </None>
  66. </ItemGroup>
  67. <ItemGroup>
  68. <Using Include="System.Drawing" />
  69. <Using Include="Terminal.Gui" />
  70. <Using Include="Xunit" />
  71. </ItemGroup>
  72. </Project>