Hi,
I'm using LLBL V3.0 (Sept 8th) to build a Postgres project. I have npgsql v2.0.10.0 (Aug 10) and initially had provider exceptions when first connecting to the DB through the designer - even after installing the dll + mono security dll to GAC, so I instead copied the files to C:\Program Files (x86)\Solutions Design\LLBLGen Pro v3.0 and it allowed me to connect and build a project.
The factories section of the config looks like this:
<DbProviderFactories>
<!-- PostgreSql -->
<add name="PostgreSql Client Data Provider"
invariant="Npgsql"
description=".Net Framework Data Provider for PostgreSql"
type="Npgsql.NpgsqlFactory, Npgsql, Version=2.0.10.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7" />
</DbProviderFactories>
Once the project is built i've tried to build a client app but all the adapter operations throw the same exception:
[System.TypeInitializationException] = {"The type initializer for 'SD.LLBLGen.Pro.DQE.PostgreSql.DynamicQueryEngine' threw an exception."}
InnerException = {"Unable to find the requested .Net Framework Data Provider. It may not be installed."}
I've double-checked the GAC:
gacutil /l npgsql
Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.
The Global Assembly Cache contains the following assemblies:
npgsql, Version=2.0.10.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7, pr
ocessorArchitecture=MSIL
Number of items = 1
I've copied the DLLs to the bin folder and other possible locations but nothing seems to work.
What else can I do to "install" the provider?
Thanks.