Error CS0117: Please, don't use the method 'NewLine' a ExportarPDF da Danfe
Closed this issue · 1 comments
devcristopher commented
Gerei um nuget para a DANFE conforme na issue #1324
Eu gero o DanfeFrNfe a partir do XML e ao usar a função ExportarPdf() conforme no print. Ele me retorna um erro na função de Exportar PDF:
"FastReport.Utils.CompilerException: (168,106): Error CS0117: Please, don't use the method 'NewLine'
(174,63): Error CS0117: Please, don't use the method 'NewLine'
(273,85): Error CS0117: Please, don't use the method 'NewLine'
(274,99): Error CS0117: Please, don't use the method 'NewLine'
(275,113): Error CS0117: Please, don't use the method 'NewLine'"
devcristopher commented
RESOLVIDO.
Como foi resolvido:
- A versão do fast report estava diferente da versão da danfe, fiz o downgrade;
- Após isso, começou com outro erro: "System.InvalidOperationException: The operation is invalid [GDI+ status: Win32Error]"
- Para solucionar, fiz conforme a #1174