Mark8236 / csharp-sqlite

Automatically exported from code.google.com/p/csharp-sqlite
Other
0 stars 0 forks source link

Using NET_35 to compile produces 3 errors in the compiling process #71

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When compiling code using the NET_35 produces this fatal error on the following 
lines:

Error   1   The non-generic type 'System.Action' cannot be used with type 
arguments   D:\coding\C#-SQLite_checkout\csharp-sqlite\Community.CsharpSqlite\src\
Delegates.cs    220 19  Community.CsharpSqlite

public static Action<sqlite3_context, String, Int32, Int32, dxDel> 
ResultText_Offset = sqlite3_result_text;

Error   2   Using the generic type 'System.Func<TResult>' requires '1' type 
arguments   D:\coding\C#-SQLite_checkout\csharp-sqlite\Community.CsharpSqlite\src\
Delegates.cs    246 19  Community.CsharpSqlite

public static Func<sqlite3_stmt, Int32, Byte[], Int32, dxDel, Int32> BindBlob = 
sqlite3_bind_blob;

Error   3   Using the generic type 'System.Func<TResult>' requires '1' type 
arguments   D:\coding\C#-SQLite_checkout\csharp-sqlite\Community.CsharpSqlite\src\
Delegates.cs    254 19  Community.CsharpSqlite

public static Func<sqlite3_stmt, Int32, String, Int32, dxDel, Int32> BindText = 
sqlite3_bind_text;        

csharp-sqlite version is the current one from cvs (2010/07/17). Compiler is 
Visual Studio 2008 with the Net 3.5 target. Disabling NET_35 fixes the problem.

Original issue reported on code.google.com by diego.to...@gmail.com on 16 Jul 2010 at 10:46

GoogleCodeExporter commented 8 years ago
Which of the projects are you compiling?
Do you have the Silverlight 4 tools installed into VS2008?

Original comment by noah.hart@gmail.com on 17 Jul 2010 at 12:13

GoogleCodeExporter commented 8 years ago

The problem is showing in every project I'm using sqlite-csharp with, indeed. 
It is happening since I enable NET_35. Looks like my VS don't like the dxDel as 
a parameter....

public static Func<sqlite3_stmt, Int32, Byte[], Int32, dxDel, Int32> BindBlob = 
sqlite3_bind_blob;

The project is the one in csharp-sqlite\Community.CsharpSqlite\

No silverlight installed.

Original comment by diego.to...@gmail.com on 17 Jul 2010 at 9:10

GoogleCodeExporter commented 8 years ago
Fixed with  changset eedc581b55  

Fixes for Issue 70 & 71,
Some NET2 & Net_35 changes

Original comment by noah.hart@gmail.com on 27 Jul 2010 at 10:52