fix build for legacy platforms by disabling ECC on .NET 4.6.2 & NET-Standard2.0 #3430
Annotations
9 errors and 12 warnings
Build:
Stack/Opc.Ua.Core/Security/Certificates/EccUtils.cs#L1294
The name 'NistP256KeyParameters' does not exist in the current context
|
Build:
Stack/Opc.Ua.Core/Security/Certificates/EccUtils.cs#L1301
The name 'NistP384KeyParameters' does not exist in the current context
|
Build:
Stack/Opc.Ua.Core/Security/Certificates/EccUtils.cs#L1308
The name 'BrainpoolP256r1KeyParameters' does not exist in the current context
|
Build:
Stack/Opc.Ua.Core/Security/Certificates/EccUtils.cs#L1315
The name 'BrainpoolP384r1KeyParameters' does not exist in the current context
|
Build:
Stack/Opc.Ua.Core/Security/Certificates/EccUtils.cs#L1294
The name 'NistP256KeyParameters' does not exist in the current context
|
Build:
Stack/Opc.Ua.Core/Security/Certificates/EccUtils.cs#L1301
The name 'NistP384KeyParameters' does not exist in the current context
|
Build:
Stack/Opc.Ua.Core/Security/Certificates/EccUtils.cs#L1308
The name 'BrainpoolP256r1KeyParameters' does not exist in the current context
|
Build:
Stack/Opc.Ua.Core/Security/Certificates/EccUtils.cs#L1315
The name 'BrainpoolP384r1KeyParameters' does not exist in the current context
|
Build
Process completed with exit code 1.
|
Upload test results
No files were found with the provided path: TestResults-Server-windows-latest-net8.0-Release. No artifacts will be uploaded.
|
Build:
Libraries/Opc.Ua.Security.Certificates/X509Crl/CrlReason.cs#L53
Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)
|
Build:
Libraries/Opc.Ua.Security.Certificates/Extensions/X509AuthorityKeyIdentifierExtension.cs#L66
In externally visible method 'X509AuthorityKeyIdentifierExtension.X509AuthorityKeyIdentifierExtension(AsnEncodedData encodedExtension, bool critical)', validate parameter 'encodedExtension' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
Libraries/Opc.Ua.Security.Certificates/Common/AsnUtils.cs#L96
'string.IndexOf(char)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Opc.Ua.Security.Certificates.AsnUtils.FromHexString(string)' with a call to 'string.IndexOf(char, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
Build:
Libraries/Opc.Ua.Security.Certificates/Common/AsnUtils.cs#L108
'string.IndexOf(char)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Opc.Ua.Security.Certificates.AsnUtils.FromHexString(string)' with a call to 'string.IndexOf(char, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
Build:
Libraries/Opc.Ua.Security.Certificates/Extensions/X509CrlNumberExtension.cs#L60
In externally visible method 'X509CrlNumberExtension.X509CrlNumberExtension(AsnEncodedData encodedExtension, bool critical)', validate parameter 'encodedExtension' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
Libraries/Opc.Ua.Security.Certificates/Extensions/X509SubjectAltNameExtension.cs#L88
In externally visible method 'X509SubjectAltNameExtension.X509SubjectAltNameExtension(AsnEncodedData encodedExtension, bool critical)', validate parameter 'encodedExtension' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
Libraries/Opc.Ua.Security.Certificates/Extensions/X509SubjectAltNameExtension.cs#L116
Change the type of parameter 'applicationUri' of method 'X509SubjectAltNameExtension.X509SubjectAltNameExtension(string, IEnumerable<string>)' from 'string' to 'System.Uri', or provide an overload to 'X509SubjectAltNameExtension.X509SubjectAltNameExtension(string, IEnumerable<string>)' that allows 'applicationUri' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054)
|
Build:
Libraries/Opc.Ua.Security.Certificates/Extensions/X509SubjectAltNameExtension.cs#L121
In externally visible method 'X509SubjectAltNameExtension.X509SubjectAltNameExtension(string applicationUri, IEnumerable<string> domainNames)', validate parameter 'domainNames' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
Libraries/Opc.Ua.Security.Certificates/Extensions/X509Extensions.cs#L52
In externally visible method 'T X509Extensions.FindExtension<T>(X509Certificate2 certificate)', validate parameter 'certificate' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
Libraries/Opc.Ua.Security.Certificates/X509Crl/X509Crl.cs#L70
In externally visible method 'X509CRL.X509CRL(IX509CRL crl)', validate parameter 'crl' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Upload to Codecov
Codecov:
Failed to properly upload report: The process 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe' failed with exit code 1
|
Loading