I finally remembered the additional step ... described in StackOverflow:

//-----------------------------------------------------------------------------------------------------------------------------------------------
//To install Firebird: Visual Studio 2013 -> File -> New -> Project,
etc. ---------- then Tools -> Library Package Manager -> Manage NuGet
//Packages -> search "firebird" -> Firebird ADO.NET Data provider ->
Install (button).
//
//Resulted in 1) References -> FirebirdSql.Data.FirebirdClient, and 2)
FirebirdSql.Data.FirebirdClient.5.8.0 subdir ... with Firebird .dll's.
//add using FirebirdSql.Data.FirebirdClient;
//-----------------------------------------------------------------------------------------------------------------------------------------------
//!!!!!!!!!!!!!!!!stackoverflow.com/questions/42864674/how-do-i-create-a-firebird-database-file-programmatically!!!!!!!!!!!!!!!!!!!!
//
//From www.firebirdsql.org/en/firebird-3-0/ ... downloaded
Firebird-3.0.2.32703-0_x64.zip
//
//Unzipped into temporary subdir (Unzip)
//
//Created fb3embedded subdir in project subdir ... next to bin, obj, etc.
//
//Move from Unzip subdir to fb3embedded subdir
//        intl folder and all contents
//        plugins\engine12.dll
//        fbclient.dll
//        firebird.msg
//        icu*
//        msvcp100.dll
//        msvcr100.dll
//
// add to the code         public const string stCLIENT_LIBRARY =
@"..\..\fb3embedded\fbclient.dll";
//-----------------------------------------------------------------------------------------------------------------------------------------------

On Thu, Apr 6, 2017 at 8:36 AM, Clyde Eisenbeis <cte...@gmail.com> wrote:
> After most things work, I decided to start with a new program /
> project ... over time, the memory fades.
>
> Here is the procedure I used:
>
> To install Firebird: Visual Studio 2013 -> File -> New -> Project,
> etc. ---------- then Tools -> Library Package Manager -> Manage NuGet
> Packages -> search "firebird" -> Firebird ADO.NET Data provider ->
> Install (button).
>
> Resulted in 1) References -> FirebirdSql.Data.FirebirdClient, and 2)
> FirebirdSql.Data.FirebirdClient.5.8.0 subdir ... with Firebird .dll's.
>
> Then added "using FirebirdSql.Data.FirebirdClient".
>
> This statement results in a compile error:
>
>             string stCreateConnectionString = new FbConnectionStringBuilder {
>                 Database = stPathFilename,
>                 UserID = stUserID,
>                 Password = stPassword,
>                 ServerType = FbServerType.Embedded,
>                 ClientLibrary = stCLIENT_LIBRARY
>             }.ToString();
>
> Does not like "stCLIENT_LIBRARY".  What step am I missing?  Thanks!

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to