Skip to content

VMR Stage 2 Builds Failing in Arcade with Obsolete Reference #4494

Closed
dotnet/arcade
#14919
@ellahathaway

Description

@ellahathaway

The latest run of the VMR is failing stage 2 builds with the following error:

/vmr/src/arcade/src/Microsoft.DotNet.SignTool/src/VerifySignatures.cs(104,42): error SYSLIB0057: 'X509Certificate.CreateFromSignedFile(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057) [/vmr/src/arcade/src/Microsoft.DotNet.SignTool/Microsoft.DotNet.SignTool.csproj::TargetFramework=net9.0]
##[error]/vmr/src/arcade/src/Microsoft.DotNet.SignTool/src/VerifySignatures.cs(104,42): error SYSLIB0057: (NETCORE_ENGINEERING_TELEMETRY=Build) 'X509Certificate.CreateFromSignedFile(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)

This error is the result of these changes being brought in by dotnet/sdk#41988.

We need to update the code in arcade/src/Microsoft.DotNet.SignTool/src/VerifySignatures.cs to remove the obsolete reference.

Metadata

Metadata

Assignees

Labels

ops-monitorIssues created/handled by the source build monitor role

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions