1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup>
- <TargetFramework>net8.0</TargetFramework>
- <!-- https://stackoverflow.com/questions/294216/why-does-c-sharp-forbid-generic-attribute-types -->
- <!-- for AutoInitShutdown attribute -->
- <LangVersion>Preview</LangVersion>
- <IsPackable>false</IsPackable>
- <UseDataCollector />
- <!-- Version numbers are automatically updated by gitversion when a release is released -->
- <!-- In the source tree the version will always be 2.0 for all projects. -->
- <!-- Do not modify these. -->
- <AssemblyVersion>2.0</AssemblyVersion>
- <FileVersion>2.0</FileVersion>
- <Version>2.0</Version>
- <InformationalVersion>2.0</InformationalVersion>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
- <DefineConstants>TRACE</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
- <DefineConstants>TRACE;DEBUG_IDISPOSABLE</DefineConstants>
- </PropertyGroup>
- <ItemGroup>
- <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
- <PackageReference Include="ReportGenerator" Version="5.2.1" />
- <PackageReference Include="System.Collections" Version="4.3.0" />
- <PackageReference Include="TestableIO.System.IO.Abstractions.TestingHelpers" Version="20.0.15" />
- <PackageReference Include="xunit" Version="2.7.0" />
- <PackageReference Include="Xunit.Combinatorial" Version="1.6.24" />
- <PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
- <PrivateAssets>all</PrivateAssets>
- <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
- </PackageReference>
- <PackageReference Include="coverlet.collector" Version="6.0.1">
- <PrivateAssets>all</PrivateAssets>
- <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
- </PackageReference>
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\Terminal.Gui\Terminal.Gui.csproj" />
- <ProjectReference Include="..\UICatalog\UICatalog.csproj" />
- </ItemGroup>
- <ItemGroup>
- <None Update="xunit.runner.json">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </None>
- </ItemGroup>
- <ItemGroup>
- <Using Include="System.Drawing.Rectangle" Alias="Rectangle" />
- <Using Include="Terminal.Gui" />
- <Using Include="Xunit" />
- </ItemGroup>
- <PropertyGroup Label="FineCodeCoverage">
- <Enabled>
- False
- </Enabled>
- <Exclude>
- [UICatalog]*
- </Exclude>
- <Include></Include>
- <ExcludeByFile>
- <!--**/Migrations/*
- **/Hacks/*.cs-->
- </ExcludeByFile>
- <ExcludeByAttribute>
- <!--MyCustomExcludeFromCodeCoverage-->
- </ExcludeByAttribute>
- <IncludeTestAssembly>
- False
- </IncludeTestAssembly>
- <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <ImplicitUsings>enable</ImplicitUsings>
- </PropertyGroup>
- </Project>
|