Unable to find or load Npgsql with Entity Framework

前端 未结 2 1486
借酒劲吻你
借酒劲吻你 2021-02-03 13:57

I am totally lost. In Visual Studio 2015, I created a WCF Library Service project and defined the service and service interface.

EntityFramework, EntityFramework.SqlSer

相关标签:
2条回答
  • 2021-02-03 14:34

    Problem solved. I neglected to add:

    <system.data>
        <DbProviderFactories>
          <remove invariant="Npgsql" />
          <add name="Npgsql Data Provider" invariant="Npgsql" description=".Net Data Provider for PostgreSQL" type="Npgsql.NpgsqlFactory, Npgsql, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7" support="FF" />
        </DbProviderFactories>
      </system.data>
    

    (See Visual Studio Support (DDEX)

    0 讨论(0)
  • 2021-02-03 14:48

    uninstalling and reinstalling Npgsql.vsix resolved this problem.

    0 讨论(0)
提交回复
热议问题