Skip to content

Update FilterSourcePackageConsumerTests.cs

ab21658
Select commit
Loading
Failed to load commit list.
Merged

Create source-only filter package #15638

Update FilterSourcePackageConsumerTests.cs
ab21658
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.vstest failed Apr 10, 2026 in 19m 29s

Build #20260410.22 had test failures

Details

Tests

  • Failed: 370 (4.92%)
  • Passed: 7,071 (94.03%)
  • Other: 79 (1.05%)
  • Total: 7,520

Annotations

Check failure on line 187 in artifacts\.packages\microsoft.testplatform.filter.source\18.7.0-ci\contentFiles\cs\netstandard2.0\VSTestFilterSource\Condition.g.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.vstest

artifacts\.packages\microsoft.testplatform.filter.source\18.7.0-ci\contentFiles\cs\netstandard2.0\VSTestFilterSource\Condition.g.cs#L187

artifacts\.packages\microsoft.testplatform.filter.source\18.7.0-ci\contentFiles\cs\netstandard2.0\VSTestFilterSource\Condition.g.cs(187,73): error CS0436: (NETCORE_ENGINEERING_TELEMETRY=Build) The type 'FilterHelper' in 'D:\a\_work\1\s\artifacts\.packages\microsoft.testplatform.filter.source\18.7.0-ci\contentFiles\cs\netstandard2.0\VSTestFilterSource\FilterHelper.g.cs' conflicts with the imported type 'FilterHelper' in 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Using the type defined in 'D:\a\_work\1\s\artifacts\.packages\microsoft.testplatform.filter.source\18.7.0-ci\contentFiles\cs\netstandard2.0\VSTestFilterSource\FilterHelper.g.cs'. [D:\a\_work\1\s\test\TestAssets\FilterSourcePackageConsumerTests\FilterSourcePackageConsumerTests.csproj::TargetFramework=net462]

Check failure on line 209 in artifacts\.packages\microsoft.testplatform.filter.source\18.7.0-ci\contentFiles\cs\netstandard2.0\VSTestFilterSource\Condition.g.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.vstest

artifacts\.packages\microsoft.testplatform.filter.source\18.7.0-ci\contentFiles\cs\netstandard2.0\VSTestFilterSource\Condition.g.cs#L209

artifacts\.packages\microsoft.testplatform.filter.source\18.7.0-ci\contentFiles\cs\netstandard2.0\VSTestFilterSource\Condition.g.cs(209,56): error CS0436: (NETCORE_ENGINEERING_TELEMETRY=Build) The type 'FilterHelper' in 'D:\a\_work\1\s\artifacts\.packages\microsoft.testplatform.filter.source\18.7.0-ci\contentFiles\cs\netstandard2.0\VSTestFilterSource\FilterHelper.g.cs' conflicts with the imported type 'FilterHelper' in 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Using the type defined in 'D:\a\_work\1\s\artifacts\.packages\microsoft.testplatform.filter.source\18.7.0-ci\contentFiles\cs\netstandard2.0\VSTestFilterSource\FilterHelper.g.cs'. [D:\a\_work\1\s\test\TestAssets\FilterSourcePackageConsumerTests\FilterSourcePackageConsumerTests.csproj::TargetFramework=net462]

Check failure on line 69 in test\TestAssets\FilterSourcePackageConsumerTests\FilterSourcePackageConsumerTests.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.vstest

test\TestAssets\FilterSourcePackageConsumerTests\FilterSourcePackageConsumerTests.cs#L69

test\TestAssets\FilterSourcePackageConsumerTests\FilterSourcePackageConsumerTests.cs(69,17): error CS8632: (NETCORE_ENGINEERING_TELEMETRY=Build) The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [D:\a\_work\1\s\test\TestAssets\FilterSourcePackageConsumerTests\FilterSourcePackageConsumerTests.csproj::TargetFramework=net462]

Check failure on line 77 in test\TestAssets\FilterSourcePackageConsumerTests\FilterSourcePackageConsumerTests.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.vstest

test\TestAssets\FilterSourcePackageConsumerTests\FilterSourcePackageConsumerTests.cs#L77

test\TestAssets\FilterSourcePackageConsumerTests\FilterSourcePackageConsumerTests.cs(77,17): error CS8632: (NETCORE_ENGINEERING_TELEMETRY=Build) The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [D:\a\_work\1\s\test\TestAssets\FilterSourcePackageConsumerTests\FilterSourcePackageConsumerTests.csproj::TargetFramework=net462]

Check failure on line 1 in Microsoft.TestPlatform.AcceptanceTests.ArgumentProcessorTests.PassingInvalidArgumentsToVsTestConsoleShouldNotPrintHelpMessage (Row: 0, Runner = net48, TargetFramework = net462, InIsolation)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.vstest

Microsoft.TestPlatform.AcceptanceTests.ArgumentProcessorTests.PassingInvalidArgumentsToVsTestConsoleShouldNotPrintHelpMessage (Row: 0, Runner = net48, TargetFramework = net462, InIsolation)

Assembly Initialization method Microsoft.TestPlatform.Acceptance.IntegrationTests.Build.AssemblyInitialize threw exception. System.InvalidOperationException: Executing 'D:\a\_work\1\s\.dotnet\dotnet.exe build "D:\a\_work\1\s\test\TestAssets\TestAssets.slnx" --configuration Release --no-restore' failed.
STDOUT:   AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net462\AppDomainGetAssembliesTestProject.dll
  ArchitectureSwitch -> D:\a\_work\1\s\artifacts\bin\TestAssets\ArchitectureSwitch\Release\net8.0\ArchitectureSwitch.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net472\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net462\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net48\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net8.0\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net9.0\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net11.0\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net10.0\BlameUnitTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net472\AppDomainGetAssembliesTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net48\AppDomainGetAssembliesTestProject.dll
  ArchitectureSwitch -> D:\a\_work\1\s\artifacts\bin\TestAssets\ArchitectureSwitch\Release\net9.0\ArchitectureSwitch.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net8.0\AppDomainGetAssembliesTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net9.0\AppDomainGetAssembliesTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net10.0\AppDomainGetAssembliesTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net11.0\AppDomainGetAssembliesTestProject.dll
  child-crash -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-crash\Release\net8.0\child-crash.dll
  child-crash -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-crash\Release\net9.0\child-crash.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net472\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net462\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net48\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net8.0\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net9.0\child-hang.dll
  Microsoft.TestPlatform.PlatformAbstractions -> D:\a\_work\1\s\artifacts\bin\Microsoft.TestPlatform.PlatformAbstractions\Debug\netstandard2.0\Microsoft.TestPlatform.PlatformAbstractions.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net10.0\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net11.0\child-hang.dll
  CodeCoverageTest -> D:\a\_work\1\s\artifacts\bin\TestAssets\CodeCoverageTest\Release\net472\CodeCoverageTest.dll
  CodeCoverageTest -> D:\a\_work\1\s\artifacts\bin\TestAssets\CodeCoverageTest\Release\net48\CodeCoverageTest.dll
  CodeCoverageTest -> D:\a\_work\1\s\artifacts\bin\TestAssets\Co
Raw output
   at Microsoft.TestPlatform.TestUtilities.IntegrationTestBuild.ExecuteApplication2(String path, String args, Dictionary`2 environmentVariables, String workingDirectory) in /_/test/Microsoft.TestPlatform.TestUtilities/IntegrationTestBuild.cs:line 514
   at Microsoft.TestPlatform.TestUtilities.IntegrationTestBuild.BuildTestAssets(String nugetCache) in /_/test/Microsoft.TestPlatform.TestUtilities/IntegrationTestBuild.cs:line 197
   at Microsoft.TestPlatform.TestUtilities.IntegrationTestBuild.BuildTestAssetsForIntegrationTests(TestContext context) in /_/test/Microsoft.TestPlatform.TestUtilities/IntegrationTestBuild.cs:line 73
   at Microsoft.TestPlatform.Acceptance.IntegrationTests.Build.AssemblyInitialize(TestContext testContext) in /_/test/Microsoft.TestPlatform.Acceptance.IntegrationTests/Build.cs:line 23
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.TestPlatform.AcceptanceTests.ArgumentProcessorTests.PassingNoArgumentsToVsTestConsoleShouldPrintHelpMessage (Row: 0, Runner = net48, TargetFramework = net462, InIsolation)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.vstest

Microsoft.TestPlatform.AcceptanceTests.ArgumentProcessorTests.PassingNoArgumentsToVsTestConsoleShouldPrintHelpMessage (Row: 0, Runner = net48, TargetFramework = net462, InIsolation)

Assembly Initialization method Microsoft.TestPlatform.Acceptance.IntegrationTests.Build.AssemblyInitialize threw exception. System.InvalidOperationException: Executing 'D:\a\_work\1\s\.dotnet\dotnet.exe build "D:\a\_work\1\s\test\TestAssets\TestAssets.slnx" --configuration Release --no-restore' failed.
STDOUT:   AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net462\AppDomainGetAssembliesTestProject.dll
  ArchitectureSwitch -> D:\a\_work\1\s\artifacts\bin\TestAssets\ArchitectureSwitch\Release\net8.0\ArchitectureSwitch.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net472\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net462\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net48\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net8.0\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net9.0\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net11.0\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net10.0\BlameUnitTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net472\AppDomainGetAssembliesTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net48\AppDomainGetAssembliesTestProject.dll
  ArchitectureSwitch -> D:\a\_work\1\s\artifacts\bin\TestAssets\ArchitectureSwitch\Release\net9.0\ArchitectureSwitch.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net8.0\AppDomainGetAssembliesTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net9.0\AppDomainGetAssembliesTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net10.0\AppDomainGetAssembliesTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net11.0\AppDomainGetAssembliesTestProject.dll
  child-crash -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-crash\Release\net8.0\child-crash.dll
  child-crash -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-crash\Release\net9.0\child-crash.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net472\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net462\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net48\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net8.0\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net9.0\child-hang.dll
  Microsoft.TestPlatform.PlatformAbstractions -> D:\a\_work\1\s\artifacts\bin\Microsoft.TestPlatform.PlatformAbstractions\Debug\netstandard2.0\Microsoft.TestPlatform.PlatformAbstractions.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net10.0\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net11.0\child-hang.dll
  CodeCoverageTest -> D:\a\_work\1\s\artifacts\bin\TestAssets\CodeCoverageTest\Release\net472\CodeCoverageTest.dll
  CodeCoverageTest -> D:\a\_work\1\s\artifacts\bin\TestAssets\CodeCoverageTest\Release\net48\CodeCoverageTest.dll
  CodeCoverageTest -> D:\a\_work\1\s\artifacts\bin\TestAssets\Co
Raw output
   at Microsoft.TestPlatform.TestUtilities.IntegrationTestBuild.ExecuteApplication2(String path, String args, Dictionary`2 environmentVariables, String workingDirectory) in /_/test/Microsoft.TestPlatform.TestUtilities/IntegrationTestBuild.cs:line 514
   at Microsoft.TestPlatform.TestUtilities.IntegrationTestBuild.BuildTestAssets(String nugetCache) in /_/test/Microsoft.TestPlatform.TestUtilities/IntegrationTestBuild.cs:line 197
   at Microsoft.TestPlatform.TestUtilities.IntegrationTestBuild.BuildTestAssetsForIntegrationTests(TestContext context) in /_/test/Microsoft.TestPlatform.TestUtilities/IntegrationTestBuild.cs:line 73
   at Microsoft.TestPlatform.Acceptance.IntegrationTests.Build.AssemblyInitialize(TestContext testContext) in /_/test/Microsoft.TestPlatform.Acceptance.IntegrationTests/Build.cs:line 23
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.TestPlatform.Acceptance.IntegrationTests.ManagedNameTests.SpecialNameTests.VerifyThatInvalidIdentifierNamesAreParsed

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.vstest

Microsoft.TestPlatform.Acceptance.IntegrationTests.ManagedNameTests.SpecialNameTests.VerifyThatInvalidIdentifierNamesAreParsed

Assembly Initialization method Microsoft.TestPlatform.Acceptance.IntegrationTests.Build.AssemblyInitialize threw exception. System.InvalidOperationException: Executing 'D:\a\_work\1\s\.dotnet\dotnet.exe build "D:\a\_work\1\s\test\TestAssets\TestAssets.slnx" --configuration Release --no-restore' failed.
STDOUT:   AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net462\AppDomainGetAssembliesTestProject.dll
  ArchitectureSwitch -> D:\a\_work\1\s\artifacts\bin\TestAssets\ArchitectureSwitch\Release\net8.0\ArchitectureSwitch.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net472\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net462\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net48\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net8.0\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net9.0\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net11.0\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net10.0\BlameUnitTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net472\AppDomainGetAssembliesTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net48\AppDomainGetAssembliesTestProject.dll
  ArchitectureSwitch -> D:\a\_work\1\s\artifacts\bin\TestAssets\ArchitectureSwitch\Release\net9.0\ArchitectureSwitch.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net8.0\AppDomainGetAssembliesTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net9.0\AppDomainGetAssembliesTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net10.0\AppDomainGetAssembliesTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net11.0\AppDomainGetAssembliesTestProject.dll
  child-crash -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-crash\Release\net8.0\child-crash.dll
  child-crash -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-crash\Release\net9.0\child-crash.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net472\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net462\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net48\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net8.0\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net9.0\child-hang.dll
  Microsoft.TestPlatform.PlatformAbstractions -> D:\a\_work\1\s\artifacts\bin\Microsoft.TestPlatform.PlatformAbstractions\Debug\netstandard2.0\Microsoft.TestPlatform.PlatformAbstractions.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net10.0\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net11.0\child-hang.dll
  CodeCoverageTest -> D:\a\_work\1\s\artifacts\bin\TestAssets\CodeCoverageTest\Release\net472\CodeCoverageTest.dll
  CodeCoverageTest -> D:\a\_work\1\s\artifacts\bin\TestAssets\CodeCoverageTest\Release\net48\CodeCoverageTest.dll
  CodeCoverageTest -> D:\a\_work\1\s\artifacts\bin\TestAssets\Co
Raw output
   at Microsoft.TestPlatform.TestUtilities.IntegrationTestBuild.ExecuteApplication2(String path, String args, Dictionary`2 environmentVariables, String workingDirectory) in /_/test/Microsoft.TestPlatform.TestUtilities/IntegrationTestBuild.cs:line 514
   at Microsoft.TestPlatform.TestUtilities.IntegrationTestBuild.BuildTestAssets(String nugetCache) in /_/test/Microsoft.TestPlatform.TestUtilities/IntegrationTestBuild.cs:line 197
   at Microsoft.TestPlatform.TestUtilities.IntegrationTestBuild.BuildTestAssetsForIntegrationTests(TestContext context) in /_/test/Microsoft.TestPlatform.TestUtilities/IntegrationTestBuild.cs:line 73
   at Microsoft.TestPlatform.Acceptance.IntegrationTests.Build.AssemblyInitialize(TestContext testContext) in /_/test/Microsoft.TestPlatform.Acceptance.IntegrationTests/Build.cs:line 23
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.TestPlatform.AcceptanceTests.ArgumentProcessorTests.PassingNoArgumentsToVsTestConsoleShouldPrintHelpMessage (Row: 0, Runner = net10.0, TargetFramework = net462, InProcess)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.vstest

Microsoft.TestPlatform.AcceptanceTests.ArgumentProcessorTests.PassingNoArgumentsToVsTestConsoleShouldPrintHelpMessage (Row: 0, Runner = net10.0, TargetFramework = net462, InProcess)

Assembly Initialization method Microsoft.TestPlatform.Acceptance.IntegrationTests.Build.AssemblyInitialize threw exception. System.InvalidOperationException: Executing 'D:\a\_work\1\s\.dotnet\dotnet.exe build "D:\a\_work\1\s\test\TestAssets\TestAssets.slnx" --configuration Release --no-restore' failed.
STDOUT:   AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net462\AppDomainGetAssembliesTestProject.dll
  ArchitectureSwitch -> D:\a\_work\1\s\artifacts\bin\TestAssets\ArchitectureSwitch\Release\net8.0\ArchitectureSwitch.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net472\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net462\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net48\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net8.0\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net9.0\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net11.0\BlameUnitTestProject.dll
  BlameUnitTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\BlameUnitTestProject\Release\net10.0\BlameUnitTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net472\AppDomainGetAssembliesTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net48\AppDomainGetAssembliesTestProject.dll
  ArchitectureSwitch -> D:\a\_work\1\s\artifacts\bin\TestAssets\ArchitectureSwitch\Release\net9.0\ArchitectureSwitch.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net8.0\AppDomainGetAssembliesTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net9.0\AppDomainGetAssembliesTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net10.0\AppDomainGetAssembliesTestProject.dll
  AppDomainGetAssembliesTestProject -> D:\a\_work\1\s\artifacts\bin\TestAssets\AppDomainGetAssembliesTestProject\Release\net11.0\AppDomainGetAssembliesTestProject.dll
  child-crash -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-crash\Release\net8.0\child-crash.dll
  child-crash -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-crash\Release\net9.0\child-crash.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net472\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net462\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net48\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net8.0\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net9.0\child-hang.dll
  Microsoft.TestPlatform.PlatformAbstractions -> D:\a\_work\1\s\artifacts\bin\Microsoft.TestPlatform.PlatformAbstractions\Debug\netstandard2.0\Microsoft.TestPlatform.PlatformAbstractions.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net10.0\child-hang.dll
  child-hang -> D:\a\_work\1\s\artifacts\bin\TestAssets\child-hang\Release\net11.0\child-hang.dll
  CodeCoverageTest -> D:\a\_work\1\s\artifacts\bin\TestAssets\CodeCoverageTest\Release\net472\CodeCoverageTest.dll
  CodeCoverageTest -> D:\a\_work\1\s\artifacts\bin\TestAssets\CodeCoverageTest\Release\net48\CodeCoverageTest.dll
  CodeCoverageTest -> D:\a\_work\1\s\artifacts\bin\TestAssets\Co
Raw output
   at Microsoft.TestPlatform.TestUtilities.IntegrationTestBuild.ExecuteApplication2(String path, String args, Dictionary`2 environmentVariables, String workingDirectory) in /_/test/Microsoft.TestPlatform.TestUtilities/IntegrationTestBuild.cs:line 514
   at Microsoft.TestPlatform.TestUtilities.IntegrationTestBuild.BuildTestAssets(String nugetCache) in /_/test/Microsoft.TestPlatform.TestUtilities/IntegrationTestBuild.cs:line 197
   at Microsoft.TestPlatform.TestUtilities.IntegrationTestBuild.BuildTestAssetsForIntegrationTests(TestContext context) in /_/test/Microsoft.TestPlatform.TestUtilities/IntegrationTestBuild.cs:line 73
   at Microsoft.TestPlatform.Acceptance.IntegrationTests.Build.AssemblyInitialize(TestContext testContext) in /_/test/Microsoft.TestPlatform.Acceptance.IntegrationTests/Build.cs:line 23
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)