Install-Package DllExporterNet4X64 -Version 1.0.0
dotnet add package DllExporterNet4X64 --version 1.0.0
<PackageReference Include="DllExporterNet4X64" Version="1.0.0" />
paket add DllExporterNet4X64 --version 1.0.0
#r "nuget: DllExporterNet4X64, 1.0.0"
// 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
- Add reference to DllExporterNet4X64.exe to your 64-bit assembly project.
- Add DllExporterX64.DllExport attribute to static methods that will be exported.
- Add following post-build command to project properties: DllExporterNet4X64.exe $(TargetFileName) move $(TargetName).Exports$(TargetExt) $(TargetFileName)
- Build project.
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.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.