为 PowerBI 安装 npgsql

Install npgsql for PowerBI

我不是程序员,我的电脑上没有安装 Visual Studio,但我需要 npgsql 来将 Microsoft PowerBI (Power Query) 连接到 Postgres 实例。

有没有不用编译就可以安装的方法? 是否需要在我的 PC 中进行特殊配置才能使其正常工作?

非常感谢。 哈维尔

看来Office.com instructions are slightly out of date, because the latest Npgsql GitHub releases aren't including compiled binary downloads. You can follow the Office.com instructions after downloading an older GitHub release.

(它也可以仅 运行 安装程序 EXE 而不是继续执行 Office.com 指令。)

为了扩展@Shay 的评论,如果您想要最新版本的 Npgsql,可以使用 nuget。

您不需要安装nuget.exe;你可以从 http://packages.nuget.org/api/v1/package/Npgsql/

下载最新的 nuget 包

将.NUPKG 文件重命名为.ZIP 并解压,您会在/lib/net45 中找到Npgsql.dll。

Office.com instructions indicate you'll also need Mono.Security.dll, whcih you can download at http://packages.nuget.org/api/v1/package/Mono.Security/