Could not load type 'FirebirdSql.Data.FirebirdClient.FbConnectionString' from assembly 'FirebirdSql.Data.FirebirdClient'
------------------------------------------------------------------------------------------------------------------------
Key: DNET-543
URL: http://tracker.firebirdsql.org/browse/DNET-543
Project: .NET Data provider
Issue Type: Bug
Components: ADO.NET Provider
Affects Versions: 4.1.0.0
Environment: .NET 4.5; Firebird 2.5.2; Firebird ADO.NET Data Provider 4.1.0.0; MonoDevelop 4.0.1, Unity 4.3.4f1
Reporter: Rustam Rakhimov
Assignee: Jiri Cincura
Priority: Minor
Executing the following code:
using UnityEngine;
using System.Collections;
using System.Data;
using FirebirdSql.Data.FirebirdClient;
public class SQLConnection : MonoBehaviour {
void Start () {
string conn = "Database=D:\\DB\\MAIN.FDB;" + "User=SYSDBA;" + "Password=masterkey;" + "Dialect=3;" + "Server=localhost";
FbConnection dbcon = new FbConnection(conn);
}
}
raises an exception:
TypeLoadException: Could not load type 'FirebirdSql.Data.FirebirdClient.FbConnectionString' from assembly 'FirebirdSql.Data.FirebirdClient, Version=4.1.0.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c'.
(wrapper remoting-invoke-with-check) FirebirdSql.Data.FirebirdClient.FbConnection:.ctor (string)
SQLConnection.Start () (at Assets/SQLConnection.cs:11)
Library file "FirebirdSql.Data.FirebirdClient.dll" is in the Unity project folder (Assets/Plugins)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|