Skip to content

V2 #255

@ericsink

Description

@ericsink

I have started a branch for a version 2.0. This branch will cause some compatibility breaks. (Edit: To clarify, the only compatibility breaks I'm fairly certain about at this time are the deprecation of old platforms.)

The v2 branch:

  • Uses SDK-style projects with multi-targeting
  • Deprecates WP8, WP8.1, and pre-netstandard PCL profiles
  • Uses Marshal.GetDelegateForFunctionPointer instead of DllImport

These are changes I've been wanting to make for a long time. Getting rid of the C++/CLI code simplifies things. Multi-targeting makes the build system easier.

And dynamic loading of the native code is SO much more flexible than DllImport. I should no longer have to build so many different copies of the pinvoke code, one for each possible name of the native library.

Unless I bump into an unexpected problem, I believe most of the complexity of the build system is going to go away.

I'm just getting started with this, but the new code already passes the xunit tests on Windows, so it looks promising.

Progress of this effort will be tracked here in this issue.

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