in

System.Data.SQLite

An open source ADO.NET provider for the SQLite database engine

Can we get the Single File Multi-Module Build Script for MSBuild or NAnt

Last post 12-23-2009 10:56 AM by shwaindog. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 12-23-2009 7:07 AM

    Can we get the Single File Multi-Module Build Script for MSBuild or NAnt

    I found a bug in the System.Data.SQLite and was able to patch the code for the Managed only project.  But I was unable to integrate the change into the single multi-module version despite connecting to CVS and getting the latest code (not via the zip files).

    I saw the mergebin project but am unsure what the command line options are and I beleive I do not have a copy of the native dll with room for the managed assembly to be injected into.

     It would be really helpful for me to test and make project specific changes if I could create the single multi-module dll.

    If that is too hard then at least the steps to perform this myself and I'll try write the build script for others to use.

    Regards

  • 12-23-2009 9:36 AM In reply to

    Re: Can we get the Single File Multi-Module Build Script for MSBuild or NAnt

    Even better ... how about reporting the bug and everyone can benefit?

    Are you using the full version of Visual Studio 2008? If so, the build process is pretty smooth for both the mixed-mode DLL and the managed only DLL.

  • 12-23-2009 10:39 AM In reply to

    Re: Can we get the Single File Multi-Module Build Script for MSBuild or NAnt

    Yup I did it was here,

     http://sqlite.phxsoftware.com/forums/p/2128/8705.aspx#8705

    Looks my fix would have essential done what the connection string setting would have done.

    Yup I have VS 2008 and I did a complete rebuild but I can't find the mixed-module assembly System.Data.SQLite that is about 866Kb big.  Where does the x86 version get built to?

    Thanks

     

  • 12-23-2009 10:52 AM In reply to

    Re: Can we get the Single File Multi-Module Build Script for MSBuild or NAnt

    Answer

    Make sure you're set to "Release" and "Win32" in the build options, and build the SQLite.Interop project.

    That will compile the managed code, the interop code, and merge the two together into the bin folder.

    If you set it for x64, it'll go into the bin\x64 folder.

  • 12-23-2009 10:56 AM In reply to

    Re: Can we get the Single File Multi-Module Build Script for MSBuild or NAnt

    Ok got it.

     Thanks for the quick response.  Great Project and thanks a bunch.

Page 1 of 1 (5 items)
Powered by Community Server (Commercial Edition), by Telligent Systems