Fix Comp Gov DOTNET-Security-10.0 #7778
Annotations
11 warnings
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: microsoft/setup-msbuild@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build solution:
tests/Microsoft.Identity.Web.AotCompatibility.TestApp/Program.cs#L22
Cannot create instance of type 'System.Security.Cryptography.X509Certificates.PublicKey' because it has multiple public parameterized constructors. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1100)
|
|
Build solution:
tests/Microsoft.Identity.Web.AotCompatibility.TestApp/Program.cs#L22
Property 'PrivateKey' on type 'System.Security.Cryptography.X509Certificates.X509Certificate2' is not supported. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1101)
|
|
Build solution:
tests/Microsoft.Identity.Web.AotCompatibility.TestApp/Program.cs#L22
Cannot create instance of type 'System.Security.Cryptography.AsymmetricAlgorithm' because it is missing a public instance constructor. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1100)
|
|
Build solution:
tests/Microsoft.Identity.Web.AotCompatibility.TestApp/Program.cs#L22
Property 'ClientCredentials' on type 'Microsoft.Identity.Abstractions.MicrosoftIdentityApplicationOptions' is not supported. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1101)
|
|
Build solution:
tests/Microsoft.Identity.Web.AotCompatibility.TestApp/Program.cs#L22
The collection element type is not supported: 'System.Collections.Generic.IEnumerable<CredentialDescription>'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1100)
|
|
Build solution:
tests/Microsoft.Identity.Web.AotCompatibility.TestApp/Program.cs#L22
Property 'Certificate' on type 'Microsoft.Identity.Abstractions.CredentialDescription' is not supported. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1101)
|
|
Build solution:
tests/Microsoft.Identity.Web.AotCompatibility.TestApp/Program.cs#L22
Property 'IssuerName' on type 'System.Security.Cryptography.X509Certificates.X509Certificate2' is not supported. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1101)
|
|
Build solution:
tests/Microsoft.Identity.Web.AotCompatibility.TestApp/Program.cs#L22
Cannot create instance of type 'System.Security.Cryptography.X509Certificates.X500DistinguishedName' because it has multiple public parameterized constructors. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1100)
|
|
Build solution:
tests/DevApps/AspireBlazorCallsWebApi/AspireBlazorCallsWebApi.ServiceDefaults/Extensions.cs#L69
'Microsoft.AspNetCore.Http.PathString.StartsWithSegments(Microsoft.AspNetCore.Http.PathString)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Microsoft.Extensions.Hosting.Extensions.ConfigureOpenTelemetry<TBuilder>(TBuilder)' with a call to 'Microsoft.AspNetCore.Http.PathString.StartsWithSegments(Microsoft.AspNetCore.Http.PathString, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
|
Build solution:
tests/DevApps/AspireBlazorCallsWebApi/AspireBlazorCallsWebApi.ServiceDefaults/Extensions.cs#L68
'Microsoft.AspNetCore.Http.PathString.StartsWithSegments(Microsoft.AspNetCore.Http.PathString)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Microsoft.Extensions.Hosting.Extensions.ConfigureOpenTelemetry<TBuilder>(TBuilder)' with a call to 'Microsoft.AspNetCore.Http.PathString.StartsWithSegments(Microsoft.AspNetCore.Http.PathString, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
Loading