UnmanagedExports 1.2.6
See the version list below for details.
dotnet add package UnmanagedExports --version 1.2.6
NuGet\Install-Package UnmanagedExports -Version 1.2.6
<PackageReference Include="UnmanagedExports" Version="1.2.6" />
paket add UnmanagedExports --version 1.2.6
#r "nuget: UnmanagedExports, 1.2.6"
// Install UnmanagedExports as a Cake Addin #addin nuget:?package=UnmanagedExports&version=1.2.6 // Install UnmanagedExports as a Cake Tool #tool nuget:?package=UnmanagedExports&version=1.2.6
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)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
This package has no dependencies.
NuGet packages (5)
Showing the top 5 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. |
|
TouristarModels
Package Description |
|
TalkProcessor.LexicalAnalyzer
Package Description |
|
Astrapi
Lightning |
GitHub repositories (11)
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
|
|
p3nt4/PowerShdll
Run PowerShell with rundll32. Bypass software restrictions.
|
|
GhostPack/KeeThief
Methods for attacking KeePass 2.X databases, including extracting of encryption key material from memory.
|
|
mandiant/DueDLLigence
|
|
iomoath/PowerShx
Run Powershell without software restrictions.
|
Version | Downloads | Last updated |
---|---|---|
1.2.7 | 846,529 | 8/16/2015 |
1.2.6 | 51,899 | 11/7/2013 |
1.2.5.18722-Debug | 2,447 | 6/26/2013 |
1.2.4.23262 | 7,351 | 3/11/2013 |
1.2.3-Beta | 1,994 | 12/20/2012 |
1.2.2.23707 | 3,917 | 10/29/2012 |
1.2.1.28778 | 2,763 | 10/17/2012 |
- package restore will now work as expected
- file extensions otherthan dll are possible now (e.g. .plugin)
- some fixes regarding the creation of .exp, .def and .lib files
- changed the nuget scripts to be more resilient
- added new nuget CmdLets
- You will now get warnings in the nuget package manager when a project's platform target is not x86 or x64.
- some refactorings WRT notifications (warnings, etc.)