Hello,
I am new to firebird.
I have a .Net 4 project and I need to use the respective Firebird.
I downloaded the “FirebirdSql.Data.FirebirdClient-5.12.1.0-NET40.7z” and I am referencing the dll.
When I build my project I get the following errors :
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1988,5): warning MSB3268: The primary reference "FirebirdSql.Data.FirebirdClient" could not be resolved because it has an indirect dependency on the framework assembly "System.Runtime, Version=2.6.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0". To resolve this problem, either remove the reference "FirebirdSql.Data.FirebirdClient" or retarget your application to a framework version which contains "System.Runtime, Version=2.6.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1988,5): warning MSB3268: The primary reference "FirebirdSql.Data.FirebirdClient" could not be resolved because it has an indirect dependency on the framework assembly "System.Threading.Tasks, Version=2.6.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0". To resolve this problem, either remove the reference "FirebirdSql.Data.FirebirdClient" or retarget your application to a framework version which contains "System.Threading.Tasks, Version=2.6.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
1>C:\SWTests\Firebird\WindowsFormsApp1\WindowsFormsApp1\Form1.cs(1,7,1,18): error CS0246: The type or namespace name 'FirebirdSql' could not be found (are you missing a using directive or an assembly reference?)
When I switch to .Net 4.5 it works.
Any help will be very much appreciated.