DllExporterNet4X64 1.0.0

Install-Package DllExporterNet4X64 -Version 1.0.0
dotnet add package DllExporterNet4X64 --version 1.0.0
<PackageReference Include="DllExporterNet4X64" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DllExporterNet4X64 --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DllExporterNet4X64, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install DllExporterNet4X64 as a Cake Addin
#addin nuget:?package=DllExporterNet4X64&version=1.0.0

// Install DllExporterNet4X64 as a Cake Tool
#tool nuget:?package=DllExporterNet4X64&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Usage:

  1. Add reference to DllExporterNet4X64.exe to your 64-bit assembly project.
  2. Add DllExporterX64.DllExport attribute to static methods that will be exported.
  3. Add following post-build command to project properties: DllExporterNet4X64.exe $(TargetFileName) move $(TargetName).Exports$(TargetExt) $(TargetFileName)
  4. Build project.

See also this: https://stackoverflow.com/questions/8957970/how-do-you-export-a-method-in-a-cil-dll-so-that-a-native-program-can-call-it

This does end up putting the .pdb in a weird place which is hard coded into your resulting DLL. Worth knowing if you have trouble with the debugging.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 536 2/21/2019

Initial Release.