Skip to content

Unable to reference generated code #676

Description

@harbingerofcode

I’m trying to reference classes within the H2 DB library in the following Maven repo: Maven Repository: com.h2database » h2 » 2.3.232

I have a simple .NET8 console app.

I’ve downloaded the jar, and referenced it locally. The jar has no dependencies.

I have the following project conifg:

<PackageReference Include="IKVM" Version="8.11.2" />

<IkvmReference Include="h2-2.3.232.jar">

  <AssemblyName>h2-2.3.232</AssemblyName>

</IkvmReference>

When I compile, I see the dll h2-2.3.232.dll but am unable to reference anything from it

(When diagnosing if I try to reference the generated DLL directly, Visual Studio reports the error “The reference is invalid or unsupported”

I realise that i don't have to do this, but thought I'd do some extra checks)

Thanks for your help in advance

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions