Skip to content

SharpKml crashes in Android release build #49

@GiselaNoci

Description

@GiselaNoci

I am using the latest version 6.0.0 SharpKML Core in an Android project C# under Visual Studio. If I do a DEBUG build of the code, the SharpKML library functions well. However if I do a RELEASE build of my code, I get the following exception on the first of the library functions I use:
"The type initializer for 'SharpKml.Base.KmlFactory' threw an exception"
The line of code on which the exception was generated is:
KmlFile file = KmlFile.Load(fileStream);

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