UnmanagedExports 1.2.7

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 for x86, x64 or ia64.

     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 generic methods. (The CLR wouldn't know what type parameters to use)

Install-Package UnmanagedExports -Version 1.2.7
dotnet add package UnmanagedExports --version 1.2.7
<PackageReference Include="UnmanagedExports" Version="1.2.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UnmanagedExports --version 1.2.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

- will use the most recent version of Microsoft.Build.Utilities.ToolLocationHelper to have a greater chance of finding the exact ildasm/ilasm for the project's target framework version

- no longer fails the build when it can't find lib.exe

- proper overridable MSBuild properties (see tools/RGiesecke.DllExport.targets)

Dependencies

This package has no dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on UnmanagedExports:

Package Downloads
MQL4CSharp
Metatrader MQL library for C#
Wyam.Modules.TextGeneration
Wyam is a simple to use, highly modular, and extremely configurable static content generator. This library provides support for generating text.
TalkProcessor.LexicalAnalyzer
Package Description

GitHub repositories (7)

Showing the top 5 popular GitHub repositories that depend on UnmanagedExports:

Repository Stars
nefarius/ScpToolkit
Windows Driver and XInput Wrapper for Sony DualShock 3/4 Controllers
pythonnet/pythonnet
Python for .NET is a package that gives Python programmers nearly seamless integration with the .NET Common Language Runtime (CLR) and provides a powerful application scripting tool for .NET developers.
p3nt4/PowerShdll
Run PowerShell with rundll32. Bypass software restrictions.
microsoft/clrmd
Microsoft.Diagnostics.Runtime is a set of APIs for introspecting processes and dumps.
rasta-mouse/TikiTorch
Process Injection

Version History

Version Downloads Last updated
1.2.7 310,643 8/16/2015
1.2.6 43,765 11/7/2013
1.2.5.18722-Debug 1,318 6/26/2013
1.2.4.23262 5,417 3/11/2013
1.2.3-Beta 1,017 12/20/2012
1.2.2.23707 2,190 10/29/2012
1.2.1.28778 1,101 10/17/2012