Set correct test loggers to log all messages from test, add msftsdkpath option for debugging

This commit is contained in:
Jackson Schuster 2024-03-28 18:10:44 -07:00
parent 8bc48d75f0
commit a29048822e
3 changed files with 4 additions and 1 deletions

View file

@ -12,7 +12,7 @@
<MSBuild Projects="$(UnifiedBuildValidationTestsProject)"
Targets="VSTest"
ContinueOnError="WarnAndContinue"
Properties="ExcludeFromDotNetBuild=false;VsTestUseMSBuildOutput=false" />
Properties="ExcludeFromDotNetBuild=false;VsTestUseMSBuildOutput=true" />
</Target>

View file

@ -8,6 +8,7 @@ using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
using Xunit.Sdk;

View file

@ -7,10 +7,12 @@
<Nullable>enable</Nullable>
<DefaultExcludesInProjectFolder>$(DefaultExcludesInProjectFolder);assets/**/*</DefaultExcludesInProjectFolder>
<UBTestsWarnOnSdkContentDiffs>true</UBTestsWarnOnSdkContentDiffs>
<VSTestLogger>console%3bverbosity=diagnostic;trx%3bverbosity=diagnostic</VSTestLogger>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" Version="$(MicrosoftExtensionsFileSystemGlobbingVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0-preview.2.24128.5" />
</ItemGroup>
<ItemGroup>