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 MacOS Release) failed Mar 17, 2026 in 25m 7s

Build MacOS Release failed

Annotations

Check failure on line 161 in src/TestFramework/TestFramework/Assertions/Assert.IsTrue.cs

See this annotation in the file changed.

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

src/TestFramework/TestFramework/Assertions/Assert.IsTrue.cs#L161

src/TestFramework/TestFramework/Assertions/Assert.IsTrue.cs(161,1): error : [MSBuildTestTarget_SingleAndMultiTfm_Should_Run_Solution_Tests ("net10.0",Debug,True)] [net11.0] Assert.IsTrue failed. 'condition' expression: 'Regex.IsMatch(dotnetMuxerResult.StandardOutput, pattern)'. Expression 'AssertOutputMatchesRegex' failed for member 'MSBuildTestTarget_SingleAndMultiTfm_Should_Run_Solution_Tests' at line 55 of file '/_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/MSBuildRunnerTests.cs'. Output of the dotnet muxer is:
Args: build --no-restore /t:Test /Users/runner/work/1/s/artifacts/tmp/Release/testsuite/LoeXg/Solution/MSTestSolution.sln -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/MSBuildTestTarget_SingleAndMultiTfm_Should_Run_Solution_Tests-41.binlog"
ExitCode: 0
StandardOutput: Telemetry is: Disabled
Build succeeded.
    0 Warning(s)
    0 Error(s)
Time Elapsed 00:00:11.33
StandardError: 

Check failure on line 161 in src/TestFramework/TestFramework/Assertions/Assert.IsTrue.cs

See this annotation in the file changed.

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

src/TestFramework/TestFramework/Assertions/Assert.IsTrue.cs#L161

src/TestFramework/TestFramework/Assertions/Assert.IsTrue.cs(161,1): error : [MSBuildTestTarget_SingleAndMultiTfm_Should_Run_Solution_Tests ("net10.0",Release,True)] [net11.0] Assert.IsTrue failed. 'condition' expression: 'Regex.IsMatch(dotnetMuxerResult.StandardOutput, pattern)'. Expression 'AssertOutputMatchesRegex' failed for member 'MSBuildTestTarget_SingleAndMultiTfm_Should_Run_Solution_Tests' at line 55 of file '/_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/MSBuildRunnerTests.cs'. Output of the dotnet muxer is:
Args: build --no-restore /t:Test /Users/runner/work/1/s/artifacts/tmp/Release/testsuite/8uPXW/Solution/MSTestSolution.sln -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/MSBuildTestTarget_SingleAndMultiTfm_Should_Run_Solution_Tests-42.binlog"
ExitCode: 0
StandardOutput: Telemetry is: Disabled
Build succeeded.
    0 Warning(s)
    0 Error(s)
Time Elapsed 00:00:09.79
StandardError: 

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 MacOS 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 "/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/OfDO6/AssetFixture" --no-build -c Release -f net10.0 --hangdump --hangdump-timeout 8s --results-directory "/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/OfDO6/AssetFixture/243c53e1e2c242a495afb5f453d344d0/net10.0" -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/HangDump_WithDotnetTest_CreateDump-14.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 MacOS 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 "/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/OfDO6/AssetFixture" --no-build -c Release -f net10.0 --hangdump --hangdump-timeout 7s --results-directory "/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/OfDO6/AssetFixture/be9130fc09434be593cf0a594b5341c9/net10.0" -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/HangDump_WithDotnetTest_NoHangButOverallTimeGreaterThanTimeout_ShouldPass-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 176 in test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build MacOS 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 /Users/runner/work/1/s/artifacts/tmp/Release/testsuite/ZiL8E/AllExtensionsInfoTest -c Release -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/AllExtensionsInfoTest-17.binlog"' failed.

StandardOutput:
Telemetry is: Disabled
  Determining projects to restore...
  Restored /Users/runner/work/1/s/artifacts/tmp/Release/testsuite/ZiL8E/AllExtensionsInfoTest/AllExtensionsInfoTest.csproj (in 1.94 sec).
/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/ZiL8E/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?) [/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/ZiL8E/AllExtensionsInfoTest/AllExtensionsInfoTest.csproj::TargetFramework=net10.0]
Build FAILED.
/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/ZiL8E/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?) [/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/ZiL8E/AllExtensionsInfoTest/AllExtensionsInfoTest.csproj::TargetFramework=net10.0]
    0 Warning(s)
    1 Error(s)
Time Elapsed 00:00:14.96
StandardError:
.