| Author |
Message |
bloodviper
Joined: 30 Nov 2011 Posts: 1
|
Posted: Wed Nov 30, 2011 3:53 am Post subject: 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? |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Wed Nov 30, 2011 11:00 am Post subject: |
|
|
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
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Wed Nov 30, 2011 11:53 am Post subject: |
|
|
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
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group