mirror of
https://github.com/spectreconsole/spectre.console.git
synced 2025-10-25 15:19:23 +00:00
Probably something that only bothers me, but I'm in a habit of running dotnet test at the solution level. It was discovering this project as a test project even though it isn't. This produces an error complaining about not having a testhost.dll. I'm pretty sure this comes in via a props when xunit is referenced. This attribute in the csproj marks the project explicitly as not a test project
19 lines
559 B
XML
19 lines
559 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>netstandard2.0</TargetFrameworks>
|
|
<IsTestProject>false</IsTestProject>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup Label="Project References">
|
|
<ProjectReference Include="..\Spectre.Console\Spectre.Console.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Label="Package References">
|
|
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
|
|
<PackageReference Include="Shouldly" Version="4.0.3" />
|
|
<PackageReference Include="xunit" Version="2.4.1" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|