First, I must say I love your wrapper. I unfortunately fell into a situation where I had to use sqlite2.x. I had to modify the original SQLite.net project to add some specific functions for my project. I figured as long as I'm recompiling the source I would make it into a single dll like System.Data.SQlite using merebin.
I added the postbuild task to the .net assembly to build that builds the merge_full.h file.
I set the output path to bin\
I added the postbuild task to the sqlite2 project to run mergebin with the /S:.clr
I set the output file to $(ProjectDir)..\bin\SQLite.NET.DLL
Last I added #include "merge_full.h" to my main.c file.
When I try to build it I get 2 errors.
Error 10 error LNK2019: unresolved external symbol __T referenced in function __CorDllMainStub@12 main.obj
Error 11 fatal error LNK1120: 1 unresolved externals c:\Projects\Providers\bin\SQLite.NET.DLL
Is there something I am missing? Should I be adding the merge_full.h to every .c file?