Skip to content

Make AssemblyInitialize/AssemblyCleanup inheritable

Azure Pipelines / microsoft.testfx (Build Windows Debug) failed Jan 16, 2025 in 28m 6s

Build Windows Debug failed

Annotations

Check failure on line 9 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Debug)

Build log #L9

Publishing build artifacts failed with an error: Not found PathtoPublish: D:\a\_work\1\s\artifacts\TestResults\Debug

Check failure on line 6 in src\TestFramework\TestFramework\Attributes\Lifecycle\Cleanup\AssemblyCleanupAttribute.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Debug)

src\TestFramework\TestFramework\Attributes\Lifecycle\Cleanup\AssemblyCleanupAttribute.cs#L6

src\TestFramework\TestFramework\Attributes\Lifecycle\Cleanup\AssemblyCleanupAttribute.cs(6,24): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'Microsoft.VisualStudio.TestTools.UnitTesting.AssemblyCleanupExecutionContext' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src\TestFramework\TestFramework\Attributes\Lifecycle\Cleanup\AssemblyCleanupAttribute.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Debug)

src\TestFramework\TestFramework\Attributes\Lifecycle\Cleanup\AssemblyCleanupAttribute.cs#L6

src\TestFramework\TestFramework\Attributes\Lifecycle\Cleanup\AssemblyCleanupAttribute.cs(6,24): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'Microsoft.VisualStudio.TestTools.UnitTesting.AssemblyCleanupExecutionContext.AssemblyCleanupExecutionContext() -> void' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src\TestFramework\TestFramework\Attributes\Lifecycle\Initialization\AssemblyInitializeAttribute.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Debug)

src\TestFramework\TestFramework\Attributes\Lifecycle\Initialization\AssemblyInitializeAttribute.cs#L6

src\TestFramework\TestFramework\Attributes\Lifecycle\Initialization\AssemblyInitializeAttribute.cs(6,24): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'Microsoft.VisualStudio.TestTools.UnitTesting.AssemblyInitializeExecutionContext' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src\TestFramework\TestFramework\Attributes\Lifecycle\Initialization\AssemblyInitializeAttribute.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Debug)

src\TestFramework\TestFramework\Attributes\Lifecycle\Initialization\AssemblyInitializeAttribute.cs#L6

src\TestFramework\TestFramework\Attributes\Lifecycle\Initialization\AssemblyInitializeAttribute.cs(6,24): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'Microsoft.VisualStudio.TestTools.UnitTesting.AssemblyInitializeExecutionContext.AssemblyInitializeExecutionContext() -> void' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)