I tested embedding dll in old version SmartAssembly 6.2 and everything worked but in new version not working
Comments
17 comments
-
Hello,
Sorry that is not enough information to track down any problem but as I recall, DevExpress components are problematic. If you have any error information at all please pass it on and I'll see if I can reproduce the problem. -
i'm trying to use method XtragridView.ExportToXlsx(fileName);
DevExpress.XtraGrid.v10.2.dll
in version SmartAssembly version is 6.2 215 is working but in version SmartAssembly 6.5. 1037 is not working -
OK, what is the error message and stack trace, if possible?
-
there is no error. nothing happens.
I have disabled everything in project settings. just dependencies embedding. but nothing happens. -
What's supposed to happen? Is it failing to export?
-
it supposed to create file and write data into the file
-
I think some DevExpress components are late-bound and aren't recognized as a dependency. So
1. Is SmartAssembly embedding the DevExpress stuff (you can see this in the project settings)
2. If not, you can try this advice from DevExpress: http://devexpress.com/Support/Center/Is ... id=B195350 -
all dll's are included for export -
Maybe there is an exception happening, but DevExpress is catching it? If you're handy with a debugger you can see if that's the case - you can attach Visual Studio debugger to the process and tell it to catch all exceptions (CTRL-ALT-E, select managed exceptions).
edit: maybe attaching Red Gate's support debugger would be more useful as if it's a binding exception you should get good info on the inner exception. -
-
I suspect it's because the XtraPrinting assembly is signed with a strong-naming key and the code is not including the key in the binding. For instance, the debug dump indicates you're trying to load "DevExpress.XtraPrinting.v10.2, Version=10.2.4.0" with no public key token.
I'll see if I can reproduce this and get back to you. -
Hello, I sent you a link via email to a patch for SmartAssembly -- did you get that and did the patch work?
-
I'll try new patch on monday
-
Hi, Did the patch work? Please let us know, thanks!
-
yes it's work
-
Thanks! I hope we can get this fix in the next release later in the week.
-
SA 6.6.4.95 had no problem exporting an XtraGrid to xls. DevExpress version was 11.2.11 . DevEx dll's were not embedded nor merged.
Add comment
Please sign in to leave a comment.