UnitTests.csproj 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net6.0</TargetFramework>
  4. <IsPackable>false</IsPackable>
  5. <UseDataCollector />
  6. <!-- Version numbers are automatically updated by gitversion when a release is released -->
  7. <!-- In the source tree the version will always be 1.0 for all projects. -->
  8. <!-- Do not modify these. -->
  9. <AssemblyVersion>1.0</AssemblyVersion>
  10. <FileVersion>1.0</FileVersion>
  11. <Version>1.0</Version>
  12. <InformationalVersion>1.0</InformationalVersion>
  13. </PropertyGroup>
  14. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
  15. <DefineConstants>TRACE</DefineConstants>
  16. </PropertyGroup>
  17. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
  18. <DefineConstants>TRACE;DEBUG_IDISPOSABLE</DefineConstants>
  19. </PropertyGroup>
  20. <ItemGroup>
  21. <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
  22. <PackageReference Include="ReportGenerator" Version="5.1.10" />
  23. <PackageReference Include="System.Collections" Version="4.3.0" />
  24. <PackageReference Include="xunit" Version="2.4.2" />
  25. <PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
  26. <PrivateAssets>all</PrivateAssets>
  27. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  28. </PackageReference>
  29. <PackageReference Include="coverlet.collector" Version="3.1.2">
  30. <PrivateAssets>all</PrivateAssets>
  31. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  32. </PackageReference>
  33. </ItemGroup>
  34. <ItemGroup>
  35. <ProjectReference Include="..\Terminal.Gui\Terminal.Gui.csproj" />
  36. <ProjectReference Include="..\UICatalog\UICatalog.csproj" />
  37. </ItemGroup>
  38. <PropertyGroup Label="FineCodeCoverage">
  39. <Enabled>
  40. True
  41. </Enabled>
  42. <Exclude>
  43. [UICatalog]*
  44. </Exclude>
  45. <Include></Include>
  46. <ExcludeByFile>
  47. <!--**/Migrations/*
  48. **/Hacks/*.cs-->
  49. </ExcludeByFile>
  50. <ExcludeByAttribute>
  51. <!--MyCustomExcludeFromCodeCoverage-->
  52. </ExcludeByAttribute>
  53. <IncludeTestAssembly>
  54. False
  55. </IncludeTestAssembly>
  56. </PropertyGroup>
  57. </Project>