How can we help you today? How can we help you today?

Could not load file or assembly

Hi.

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
embedding.



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

Comments

2 comments

  • Brian Donahue
    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.
    Brian Donahue
    0
  • Brian Donahue
    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.
    Brian Donahue
    0

Add comment

Please sign in to leave a comment.