Jiri Cincura wrote:
> On 3/17/08, Scott Price <[EMAIL PROTECTED]> wrote:
>> You only need to add it to machine.config for your development machines
>>  VS designer's benefit, I believe.
> 
> If you wanna to be able to list installed providers, then you need to
> modify machine.config.

Actually, you don't *have to* add it to the machine.config. Adding it to 
machine.config just gives you "global" access to it (i.e. from any 
application). If you only have one application, you can just add it to 
your application's local app.config:

<configuration>
     <system.data>
         <DbProviderFactories>
            <add name="Firebird Data Provider"
                 invariant="FirebirdSql.Data.FirebirdClient"
                 description=".Net Framework Data Provider for Firebird"
                 type="..."/>
         </DbProviderFactories>
     </system.data>
</configuration>

That has the added benefit of not requiring admin privileges to install 
as well :-)

Dean.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to