visual studio 使用npgsql 的前置安裝

2020/12/09閱讀時間約 1 分鐘
visual studio->工具/Nuget套件管理員/套件管理器主控台/
執行如下命令
PM> install-package Npgsql
完成。
---------------------------------
程式中用了
using Npgsql
出現下列的錯誤,解決方法如上述.

Error CS0246: The type or namespace name 'Npgsql' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (pgsqlExample2)
為什麼會看到廣告
    留言0
    查看全部
    發表第一個留言支持創作者!