Skip to content

Fix MSTEST0049 and IDE0028 analyzer errors in boolean telemetry test

93554a4
Select commit
Loading
Failed to load commit list.
Merged

Prevent telemetry host termination on boolean MSTest setting payloads #8189

Fix MSTEST0049 and IDE0028 analyzer errors in boolean telemetry test
93554a4
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx (Build MacOS Release) failed May 16, 2026 in 5m 13s

Build MacOS Release failed

Annotations

Check failure on line 8 in src/Platform/Microsoft.Testing.Extensions.Telemetry/AppInsightsProvider.cs

See this annotation in the file changed.

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

src/Platform/Microsoft.Testing.Extensions.Telemetry/AppInsightsProvider.cs#L8

src/Platform/Microsoft.Testing.Extensions.Telemetry/AppInsightsProvider.cs(8,1): error IDE0005: (NETCORE_ENGINEERING_TELEMETRY=Build) Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005)

Check failure on line 8 in src/Platform/Microsoft.Testing.Extensions.Telemetry/AppInsightsProvider.cs

See this annotation in the file changed.

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

src/Platform/Microsoft.Testing.Extensions.Telemetry/AppInsightsProvider.cs#L8

src/Platform/Microsoft.Testing.Extensions.Telemetry/AppInsightsProvider.cs(8,1): error IDE0005: (NETCORE_ENGINEERING_TELEMETRY=Build) Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005)

Check failure on line 8 in src/Platform/Microsoft.Testing.Extensions.Telemetry/AppInsightsProvider.cs

See this annotation in the file changed.

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

src/Platform/Microsoft.Testing.Extensions.Telemetry/AppInsightsProvider.cs#L8

src/Platform/Microsoft.Testing.Extensions.Telemetry/AppInsightsProvider.cs(8,1): error IDE0005: (NETCORE_ENGINEERING_TELEMETRY=Build) Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005)

Check failure on line 9 in Build log

See this annotation in the file changed.

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

Build log #L9

Publishing build artifacts failed with an error: Not found PathtoPublish: /Users/runner/work/1/s/artifacts/TestResults/Release