Hercules-NET / ZeusFiscal

A Principal Biblioteca em C# para Emissão e Impressão de NFe, NFCe, MDF-e e CT-e
https://github.com/Hercules-NET/ZeusFiscal
GNU Lesser General Public License v2.1
79 stars 37 forks source link

FastReport.Utils.CompilerException: (Text34): Error CS0105: The using directive for `NFe.Classes.Informacoes.Identificacao.Tipos' appeared previously in this namespace #31

Closed eneiasramos closed 2 months ago

eneiasramos commented 2 months ago

Este ajuste ajuda na correção de um possível bug na geração do relatório FastReport utilizando o seguinte ambiente:

.Net Framwork 4.8 FastReport.Compat 2024.1.0 NFe.Danfe.Base.dll ( net462 ) NFe.Danfe.OpenFast.dll ( net462 )

StackTrace:

FastReport.Utils.CompilerException: (Text34): Error CS0105: The using directive for `NFe.Classes.Informacoes.Identificacao.Tipos' appeared previously in this namespace

at FastReport.Code.AssemblyDescriptor.InternalCompile () [0x00085] in <1f828f5a823142149547b1ffc3d3e36f>:0 at FastReport.Code.AssemblyDescriptor.Compile () [0x00020] in <1f828f5a823142149547b1ffc3d3e36f>:0 at FastReport.Report.Compile () [0x00045] in <1f828f5a823142149547b1ffc3d3e36f>:0 at FastReport.Report.Prepare (System.Boolean append) [0x00037] in <1f828f5a823142149547b1ffc3d3e36f>:0 at FastReport.Report.Prepare () [0x00000] in <1f828f5a823142149547b1ffc3d3e36f>:0 at (wrapper remoting-invoke-with-check) FastReport.Report.Prepare() at NFe.Danfe.OpenFast.DanfeOpenFastBase.ExportarPdf (System.String arquivo) [0x00007] in <14866dd957784011bd921d9d7a301c62>:0