Firebird Client 9.0.2 .msi missing?

103 views
Skip to first unread message

Massimo Lovato

unread,
Aug 20, 2022, 4:16:23 AM8/20/22
to firebird-net-provider
Good morning.
Years ago (2019) I built a Windows Forms App (Visual Studio 2015) with the following versions:
- Firebird 3.0.4
- .NET Framework 4.5.2
- EntityFramework 6.4.4
- FirebirdSql.Data.FirebirdClient 6.7.0
- DDEXProvider-3.0.2.0.msi
All worked well. In every client PC with the app installed, I also had to install FirebirdSql.Data.FirebirdClient-6.7.0.msi.

Now I have to build another Windows Forms App, so I want to start with the following versions:
- Firebird 3.0.10
- .NET Framework 4.8
- EntityFramework 6.4.4
- FirebirdSql.Data.FirebirdClient 9.0.2
- EntityFramework.Firebird 9.0.2
- DDEXProvider-3.0.2.0.msi
Now, I don't find the "FirebirdSql.Data.FirebirdClient-9.0.2.msi" to install, and also I can't perform the "Add new item | ADO.NET Entity Data Model" procedure, because it throws an "InvalidCastException" (I use "Code First from database" for my DbModel) from the version 6.7.0 in the GAC to the new version 9.0.2 (see attached image, I apologize for it is in italian but I don't know how to get the english version). If I uninstall FirebirdSql.Data.FirebirdClient-6.7.0.msi, the "Add new item | ADO.NET Entity Data Model" silently failed and closes itself.

Why there isn't a "FirebirdSql.Data.FirebirdClient-9.0.2.msi", so I can replace 6.7.0 with 9.0.2 version? And how can I distribute my app to the client PC without installing FirebirdSql.Data.FirebirdClient-9.0.2.msi?

Thank you very much.
Massimo
Exception.png

Jiří Činčura

unread,
Aug 22, 2022, 3:23:52 AM8/22/22
to 'Mr. John' via firebird-net-provider
> Why there isn't a "FirebirdSql.Data.FirebirdClient-9.0.2.msi", so I can
> replace 6.7.0 with 9.0.2 version? And how can I distribute my app to

The installer was dropped in favor of purely NuGet distribution (and also the value of installer was getting lower and lower with the current state of the .NET world). You can still install the assembly into GAC manually.

> the client PC without installing
> FirebirdSql.Data.FirebirdClient-9.0.2.msi?

You can (and should) distribute the assembly as part of your application, instead of installing it globally.

--
Mgr. Jiří Činčura
https://www.tabsoverspaces.com/

Massimo Lovato

unread,
Aug 22, 2022, 2:51:34 PM8/22/22
to firebird-net-provider
Thank you very much, it works correctly now.
A last question: should I add the DbProviderFactories record in machine.config of every client PC? The old msi installer did it.
Massimo

Jiří Činčura

unread,
Aug 23, 2022, 1:15:23 AM8/23/22
to 'Mr. John' via firebird-net-provider
If your application uses factories, then I would add it. But probably into app.config.

--
Mgr. Jiří Činčura
https://www.tabsoverspaces.com/

> --
> You received this message because you are subscribed to the Google
> Groups "firebird-net-provider" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to firebird-net-pro...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/firebird-net-provider/8ee50796-9588-4270-9da3-5d4123d1a11fn%40googlegroups.com
> <https://groups.google.com/d/msgid/firebird-net-provider/8ee50796-9588-4270-9da3-5d4123d1a11fn%40googlegroups.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages