Skip to content

InvalidCastException when trying to merge Oracle.ManagedDataAccess.dll #37

@javeiga-iest

Description

@javeiga-iest

1> System.InvalidCastException: No se puede convertir un objeto de tipo 'System.SByte' al tipo 'System.String'.
1> en Mono.Cecil.MetadataBuilder.GetConstantSignature(ElementType type, Object value)
1> en Mono.Cecil.MetadataBuilder.AddConstant(IConstantProvider owner, TypeReference type)
1> en Mono.Cecil.MetadataBuilder.AddField(FieldDefinition field)
1> en Mono.Cecil.MetadataBuilder.AddFields(TypeDefinition type)
1> en Mono.Cecil.MetadataBuilder.AddType(TypeDefinition type)
1> en Mono.Cecil.MetadataBuilder.AddTypeDefs()
1> en Mono.Cecil.MetadataBuilder.BuildTypes()
1> en Mono.Cecil.MetadataBuilder.BuildModule()
1> en Mono.Cecil.ModuleWriter.BuildMetadata(ModuleDefinition module, MetadataBuilder metadata)
1> en Mono.Cecil.ModuleWriter.WriteModuleTo(ModuleDefinition module, Stream stream, WriterParameters parameters)
1> en Mono.Cecil.ModuleDefinition.Write(String fileName, WriterParameters parameters)
1> en ILRepacking.ILRepack.Repack()
1> en ILRepacking.Application.Main(String[] args)
This works fine if we use the Oracle.ManagedDataAccess.dll v 19.18.0. All versions after that one returns System.InvalidCastException.

Any idea how to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions