将 dll 包含到 Visual Studio 项目

Including dll to Visual Studio project

我需要读取 Visual Studio 项目中的 mat 文件。我在 Windows 10 64 位上使用 Visual Studio 2015 32 位。 我已经使用 NuGet 包管理器安装了一个 MatFileHandler 库并得到了一个 MatFileHandler.dll 文件,但我不知道如何使用它。在我写的程序中 use MatFileHandler 但链接器看不到这个。请不要评判我,我是 Visual Studio 的新手。

MatFileHandler library is not a native C++ dll. It's .NET assembly and it depends on .NETStandard 2.0

您应该创建 .NET 应用程序并将此 NuGet 程序包添加到其中。 Here 是有关如何创建 .NET Core 应用程序的分步说明。