mirror of
https://github.com/FalloutCollaborationProject/FCP-Mod-Updater.git
synced 2026-07-27 17:04:05 -07:00
The issue was two things: 1. Missing xunit.runner.visualstudio package — xunit v3 needs this adapter for VSTest (dotnet test) to discover tests 2. <OutputType>Exe</OutputType> — this is for xunit v3's standalone runner mode (dotnet run), but it conflicts with dotnet test discovery. Removed it since you want dotnet test to work.
23 lines
676 B
XML
23 lines
676 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<IsPackable>false</IsPackable>
|
|
<IsTestProject>true</IsTestProject>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.3.0" />
|
|
<PackageReference Include="NSubstitute" Version="5.3.0" />
|
|
<PackageReference Include="xunit.v3" Version="3.1.0" />
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="../FCPModUpdater.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|