Skip to content

Refatorar a recuperação da chave de assinatura em Assinador.cs #209

Refatorar a recuperação da chave de assinatura em Assinador.cs

Refatorar a recuperação da chave de assinatura em Assinador.cs #209

Re-run triggered December 3, 2025 01:46
Status Failure
Total duration 2m 13s
Artifacts

ZeusFiscal_build.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 20 warnings
build (windows-2022): NFe.Utils/Assinatura/Assinador.cs#L71
The type or namespace name 'RSA' could not be found (are you missing a using directive or an assembly reference?)
build (windows-2022): NFe.Utils/Assinatura/Assinador.cs#L71
The type or namespace name 'RSA' could not be found (are you missing a using directive or an assembly reference?)
build (windows-2022): NFe.Utils/Assinatura/Assinador.cs#L71
The type or namespace name 'RSA' could not be found (are you missing a using directive or an assembly reference?)
build (windows-2022): NFe.Utils/Assinatura/Assinador.cs#L71
The type or namespace name 'RSA' could not be found (are you missing a using directive or an assembly reference?)
build (windows-2022): NFe.Utils/Assinatura/Assinador.cs#L71
The type or namespace name 'RSA' could not be found (are you missing a using directive or an assembly reference?)
build (windows-2022): NFe.Utils/Assinatura/Assinador.cs#L71
The type or namespace name 'RSA' could not be found (are you missing a using directive or an assembly reference?)
build (windows-2022): NFe.Utils/Assinatura/Assinador.cs#L71
The type or namespace name 'RSA' could not be found (are you missing a using directive or an assembly reference?)
build (windows-2022): NFe.Utils/Assinatura/Assinador.cs#L71
The type or namespace name 'RSA' could not be found (are you missing a using directive or an assembly reference?)
build (windows-2022): NFe.Utils/Assinatura/Assinador.cs#L71
The type or namespace name 'RSA' could not be found (are you missing a using directive or an assembly reference?)
build (windows-2022): NFe.Utils/Assinatura/Assinador.cs#L71
The type or namespace name 'RSA' could not be found (are you missing a using directive or an assembly reference?)
build (windows-2022): NFe.Classes/Informacoes/compra.cs#L3
The type name 'compra' only contains lower-cased ascii characters. Such names may become reserved for the language.
build (windows-2022): NFe.Classes/Informacoes/Cobranca/fat.cs#L3
The type name 'fat' only contains lower-cased ascii characters. Such names may become reserved for the language.
build (windows-2022): NFe.Classes/Informacoes/Cobranca/dup.cs#L7
The type name 'dup' only contains lower-cased ascii characters. Such names may become reserved for the language.
build (windows-2022): NFe.Classes/Informacoes/Cobranca/cobr.cs#L6
The type name 'cobr' only contains lower-cased ascii characters. Such names may become reserved for the language.
build (windows-2022): NFe.Classes/Informacoes/Agropecuario/guiaTransito.cs#L19
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (windows-2022): NFe.Classes/Informacoes/Agropecuario/guiaTransito.cs#L14
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (windows-2022): NFe.Classes/Informacoes/Agropecuario/defensivo.cs#L3
The type name 'defensivo' only contains lower-cased ascii characters. Such names may become reserved for the language.
build (windows-2022): NFe.Classes/Informacoes/Agropecuario/agropecuario.cs#L6
The type name 'agropecuario' only contains lower-cased ascii characters. Such names may become reserved for the language.
build (windows-2022): NFe.Classes/Informacoes/Agropecuario/agropecuario.cs#L20
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (windows-2022): NFe.Classes/Informacoes/Agropecuario/agropecuario.cs#L14
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (windows-2022): DFe.Utils/Assinatura/CertificadoDigital.cs#L59
'X509Certificate2.X509Certificate2(byte[], string?, X509KeyStorageFlags)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
build (windows-2022): DFe.Utils/Assinatura/CertificadoDigital.cs#L44
'X509Certificate2.X509Certificate2(string, string?, X509KeyStorageFlags)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
build (windows-2022): DFe.Utils/Assinatura/AssinaturaDigital.cs#L27
'X509Certificate2.PrivateKey' is obsolete: 'X509Certificate2.PrivateKey is obsolete. Use the appropriate method to get the private key, such as GetRSAPrivateKey, or use the CopyWithPrivateKey method to create a new instance with a private key.' (https://aka.ms/dotnet-warnings/SYSLIB0028)
build (windows-2022): DFe.Utils/FrxFileHelper.cs#L22
The variable 'e' is declared but never used
build (windows-2022): DFe.Utils/Assinatura/CertificadoDigital.cs#L321
'X509Certificate2.PrivateKey' is obsolete: 'X509Certificate2.PrivateKey is obsolete. Use the appropriate method to get the private key, such as GetRSAPrivateKey, or use the CopyWithPrivateKey method to create a new instance with a private key.' (https://aka.ms/dotnet-warnings/SYSLIB0028)
build (windows-2022): DFe.Utils/Assinatura/CertificadoDigital.cs#L123
'X509Certificate2.PrivateKey' is obsolete: 'X509Certificate2.PrivateKey is obsolete. Use the appropriate method to get the private key, such as GetRSAPrivateKey, or use the CopyWithPrivateKey method to create a new instance with a private key.' (https://aka.ms/dotnet-warnings/SYSLIB0028)
build (windows-2022): DFe.Utils/CertificadoDigitalUtils.cs#L123
'X509Certificate2.X509Certificate2(byte[], SecureString?, X509KeyStorageFlags)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
build (windows-2022): DFe.Utils/Assinatura/AssinaturaDigital.cs#L27
'X509Certificate2.PrivateKey' is obsolete: 'X509Certificate2.PrivateKey is obsolete. Use the appropriate method to get the private key, such as GetRSAPrivateKey, or use the CopyWithPrivateKey method to create a new instance with a private key.' (https://aka.ms/dotnet-warnings/SYSLIB0028)
build (windows-2022): DFe.Utils/CertificadoDigitalUtils.cs#L83
'X509Certificate2.X509Certificate2(string, SecureString?, X509KeyStorageFlags)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
build (windows-2022): DFe.Utils/Assinatura/CertificadoDigital.cs#L321
'X509Certificate2.PrivateKey' is obsolete: 'X509Certificate2.PrivateKey is obsolete. Use the appropriate method to get the private key, such as GetRSAPrivateKey, or use the CopyWithPrivateKey method to create a new instance with a private key.' (https://aka.ms/dotnet-warnings/SYSLIB0028)