Skip to content

Update MSTest.Analyzers.UnitTests.csproj

23acee1
Select commit
Loading
Failed to load commit list.
Draft

Avoid setting IsTestingPlatformApplication in MTP.targets #7566

Update MSTest.Analyzers.UnitTests.csproj
23acee1
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx (Build Linux Release) failed Mar 17, 2026 in 13m 9s

Build Linux Release failed

Annotations

Check failure on line 665 in src/TestFramework/TestFramework/Assertions/Assert.AreEqual.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Linux Release)

src/TestFramework/TestFramework/Assertions/Assert.AreEqual.cs#L665

src/TestFramework/TestFramework/Assertions/Assert.AreEqual.cs(665,1): error : [HangDump_WithDotnetTest_CreateDump] [net11.0] Assert.AreEqual failed. Expected:<7>. Actual:<1>. 'expected' expression: 'exitCode', 'actual' expression: 'testHostResult.ExitCode'. Expression 'AssertExitCodeIs' failed for member 'HangDump_WithDotnetTest_CreateDump' at line 45 of file '/_/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/HangDumpTests.cs'. Output of the dotnet muxer is:
Args: test --project "/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/fqAuR/AssetFixture" --no-build -c Release -f net10.0 --hangdump --hangdump-timeout 8s --results-directory "/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/fqAuR/AssetFixture/ca5c5efba7aa45eebdb21095c631eb9d/net10.0" -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/HangDump_WithDotnetTest_CreateDump-15.binlog"
ExitCode: 1
StandardOutput: Telemetry is: Disabled
StandardError: Get projects properties with MSBuild didn't execute properly with exit code: 1.

Check failure on line 665 in src/TestFramework/TestFramework/Assertions/Assert.AreEqual.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Linux Release)

src/TestFramework/TestFramework/Assertions/Assert.AreEqual.cs#L665

src/TestFramework/TestFramework/Assertions/Assert.AreEqual.cs(665,1): error : [HangDump_WithDotnetTest_NoHangButOverallTimeGreaterThanTimeout_ShouldPass] [net11.0] Assert.AreEqual failed. Expected:<0>. Actual:<1>. 'expected' expression: 'exitCode', 'actual' expression: 'testHostResult.ExitCode'. Expression 'AssertExitCodeIs' failed for member 'HangDump_WithDotnetTest_NoHangButOverallTimeGreaterThanTimeout_ShouldPass' at line 67 of file '/_/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/HangDumpTests.cs'. Output of the dotnet muxer is:
Args: test --project "/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/fqAuR/AssetFixture" --no-build -c Release -f net10.0 --hangdump --hangdump-timeout 7s --results-directory "/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/fqAuR/AssetFixture/f243b12f562b4a2783b25331f267853a/net10.0" -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/HangDump_WithDotnetTest_NoHangButOverallTimeGreaterThanTimeout_ShouldPass-16.binlog"
ExitCode: 1
StandardOutput: Telemetry is: Disabled
StandardError: Get projects properties with MSBuild didn't execute properly with exit code: 1.

Check failure on line 176 in test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Linux Release)

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs#L176

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs(176,1): error : [Help_WhenNoExtensionRegistered_OutputDefaultHelpContent ("net10.0")] [net11.0] Class Initialization method Microsoft.Testing.Platform.Acceptance.IntegrationTests.HelpInfoTests.ClassInitialize threw exception. System.InvalidOperationException: Command 'dotnet build /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/F2BPW/AllExtensionsInfoTest -c Release -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/AllExtensionsInfoTest-17.binlog"' failed.

StandardOutput:
Telemetry is: Disabled
  Determining projects to restore...
  Restored /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/F2BPW/AllExtensionsInfoTest/AllExtensionsInfoTest.csproj (in 1.83 sec).
/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/F2BPW/AllExtensionsInfoTest/Program.cs(1,7): error CS0246: The type or namespace name 'AllExtensionsInfoTest' could not be found (are you missing a using directive or an assembly reference?) [/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/F2BPW/AllExtensionsInfoTest/AllExtensionsInfoTest.csproj::TargetFramework=net10.0]
Build FAILED.
/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/F2BPW/AllExtensionsInfoTest/Program.cs(1,7): error CS0246: The type or namespace name 'AllExtensionsInfoTest' could not be found (are you missing a using directive or an assembly reference?) [/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/F2BPW/AllExtensionsInfoTest/AllExtensionsInfoTest.csproj::TargetFramework=net10.0]
    0 Warning(s)
    1 Error(s)
Time Elapsed 00:00:09.73
StandardError:
.

Check failure on line 176 in test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Linux Release)

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs#L176

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs(176,1): error : [HelpShortName_WhenNoExtensionRegistered_OutputDefaultHelpContent ("net10.0")] [net11.0] Class Initialization method Microsoft.Testing.Platform.Acceptance.IntegrationTests.HelpInfoTests.ClassInitialize threw exception. System.InvalidOperationException: Command 'dotnet build /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/F2BPW/AllExtensionsInfoTest -c Release -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/AllExtensionsInfoTest-17.binlog"' failed.

StandardOutput:
Telemetry is: Disabled
  Determining projects to restore...
  Restored /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/F2BPW/AllExtensionsInfoTest/AllExtensionsInfoTest.csproj (in 1.83 sec).
/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/F2BPW/AllExtensionsInfoTest/Program.cs(1,7): error CS0246: The type or namespace name 'AllExtensionsInfoTest' could not be found (are you missing a using directive or an assembly reference?) [/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/F2BPW/AllExtensionsInfoTest/AllExtensionsInfoTest.csproj::TargetFramework=net10.0]
Build FAILED.
/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/F2BPW/AllExtensionsInfoTest/Program.cs(1,7): error CS0246: The type or namespace name 'AllExtensionsInfoTest' could not be found (are you missing a using directive or an assembly reference?) [/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/F2BPW/AllExtensionsInfoTest/AllExtensionsInfoTest.csproj::TargetFramework=net10.0]
    0 Warning(s)
    1 Error(s)
Time Elapsed 00:00:09.73
StandardError:
.

Check failure on line 176 in test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Linux Release)

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs#L176

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs(176,1): error : [Help_WithAllExtensionsRegistered_OutputFullHelpContent ("net10.0")] [net11.0] Class Initialization method Microsoft.Testing.Platform.Acceptance.IntegrationTests.HelpInfoTests.ClassInitialize threw exception. System.InvalidOperationException: Command 'dotnet build /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/F2BPW/AllExtensionsInfoTest -c Release -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/AllExtensionsInfoTest-17.binlog"' failed.

StandardOutput:
Telemetry is: Disabled
  Determining projects to restore...
  Restored /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/F2BPW/AllExtensionsInfoTest/AllExtensionsInfoTest.csproj (in 1.83 sec).
/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/F2BPW/AllExtensionsInfoTest/Program.cs(1,7): error CS0246: The type or namespace name 'AllExtensionsInfoTest' could not be found (are you missing a using directive or an assembly reference?) [/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/F2BPW/AllExtensionsInfoTest/AllExtensionsInfoTest.csproj::TargetFramework=net10.0]
Build FAILED.
/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/F2BPW/AllExtensionsInfoTest/Program.cs(1,7): error CS0246: The type or namespace name 'AllExtensionsInfoTest' could not be found (are you missing a using directive or an assembly reference?) [/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/F2BPW/AllExtensionsInfoTest/AllExtensionsInfoTest.csproj::TargetFramework=net10.0]
    0 Warning(s)
    1 Error(s)
Time Elapsed 00:00:09.73
StandardError:
.