Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preliminary option to not pass assembly reference to IKVM.Exporter #583

Open
AliveDevil opened this issue Aug 28, 2024 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@AliveDevil
Copy link
Collaborator

In iterate-ch/cyberduck we are passing assemblies to IKVM.NET.Sdk that were previously converted by IKVM.NET.Sdk.
B(IKVM.NET.Sdk) depends on A(IKVM.NET.Sdk), which was built by Maven, so B doesn’t know there is in fact a hidden ProjectReference - just not MSBuild-style.

In a recent change the reexport of IKVM-assemblies was turned into an error, thus failing the build.

Workaround at the moment is to set <JavaClasspath>\\?\</JavaClasspath> so the MSBuild targets don’t consume these reference in the _ExportReferences-stage, but are referenceable in the CoreCompile-stage.

Proposal is to preliminarily implement a _HideFromJavaLang reference item metadata, so that the workaround is not needed (unknown consequences in the future).
This name is temporary and underscored to mark its dangerous and temporary nature.

@AliveDevil AliveDevil added the enhancement New feature or request label Aug 28, 2024
@AliveDevil AliveDevil self-assigned this Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant