我正在尝试使用(https://www.nuget.org/packages/UnmanagedExports)导出我的一些函数,但它似乎不起作用。
using System;
using System.Collections.Generic;
using System.Text;
using RGiesecke.DllExport;
using System.Runtime.InteropServices;
namespace Verificare
{
static class Exports
{
[DllExport]
public static void Salut()
{
}
}
}
我正在使用 DLL EXPLORER 查看导出的函数,不幸的是,在我的 dll 中没有导出函数。