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

Added netstandard2.0 reference assemblies support #523

Merged
merged 3 commits into from Apr 8, 2023

Conversation

Aragas
Copy link
Collaborator

@Aragas Aragas commented Apr 7, 2023

Just as we discussed, this adds support for using the netstandard2.0 target as a reference assembly.
The location of the reference assembly is in /ref instead of the standard /lib in the NuGet, so it won't ever be copied to the output path, avoiding any issues with the reference assembly being used as full fledged library in an unknown runtime implementation (.net core / .net framework)

The interesting thing is, we can ignore any IDE errors that are not related to the Public API (e.g. missing DefinePInvokeMethod and CreateType methods). Any implementation level compile errors do not matter.

@pardeike pardeike merged commit f810941 into pardeike:feature/monomod-core Apr 8, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants