Set correct test loggers to log all messages from test, add msftsdkpath option for debugging
This commit is contained in:
parent
8bc48d75f0
commit
a29048822e
3 changed files with 4 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
<MSBuild Projects="$(UnifiedBuildValidationTestsProject)"
|
||||
Targets="VSTest"
|
||||
ContinueOnError="WarnAndContinue"
|
||||
Properties="ExcludeFromDotNetBuild=false;VsTestUseMSBuildOutput=false" />
|
||||
Properties="ExcludeFromDotNetBuild=false;VsTestUseMSBuildOutput=true" />
|
||||
|
||||
</Target>
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue