UnmanagedExports 1.2.3-beta

A set of compile-time libraries (nothing to deploy) and a build task that enable you to export functions from managed code to native applications. That means, you can create plugins in a managed language like C# or F# for native applications that only have a C-Api (like Notepad++). The nuget package is all you need. Just mark your methods with [DllExport] and build. Hints: - You have to set your platform target to either x86, ia64 or x64. AnyCPU assemblies cannot export functions. - The export name defaults to the method name and the calling convention to stdcall. If that's all what you want, you can just use [DllExport] without parameters. - You cannot put your exports in generic types or export gegenric methods, but your parameters or the result can use generics. e.g.: [DllExport] static void Test(YourStruct<int> data){}

No packages depend on UnmanagedExports.

- Placing [DllExport] on non-static methods will now yield an error. - Placing [DllExport] on methods in generic types (or types nested in generic types) will yield an error. - Errors regarding lib.exe will no longer break the build. - Added support for generic return types. Even the most esotheric corner cases (obfuscated types) should work. - Made the code that checks method names and class names much more resilient and faster. - Most messages are localizable now (and I translated them to German).

This package has no dependencies.

Version Downloads Last updated
1.2.7 27 05/17/2021
1.2.6 23 08/30/2023
1.2.5.18722-Debug 19 08/17/2023
1.2.4.23262 19 08/30/2023
1.2.3-Beta 21 08/30/2023
1.2.2.23707 16 07/19/2023
1.2.1.28778 19 08/30/2023