What are the challenges you face when working across database platforms? Take the survey

Could not load file or assembly

bloodviperbloodviper Posts: 2
edited November 30, 2011 5:53AM in SmartAssembly

My Application used System.Data.Sqlite.dll.
when I use smartassembly 6.5 to obfuscate this application, it will crashed with the error below:

System.ArgumentException : Could not .Net Framework Data Provider.

System.Data.Sqllite.dll could not dependencies merging and dependencies

How can i use System.Data.Sqlite.dll?


  • Options
    Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    I only know this because some Red Gate products use this DLL, but AFAIK there is no reference to the SqlLite DLL in your app so it will not automatically merge/embed. You would normally have to distribute the dll separately unless you can do some hacking and create a reference to the dll in your assembly's metadata.

    If that doesn't help please reply to the email we sent opening a support case with the SmartAssembly log file.
  • Options
    Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Apparently you have to do some legwork to get a SmartAssembly log file, and only in 6.5 (previous versions had no log file).

    You have to edit the SmartAssembly.config file and uncomment the Log4Net bits, then change the log level from TRACE to FULL.

    Next time you run SA it will make a log file in %userprofile%\appdata\red gate\smartassembly 6.
Sign In or Register to comment.