SA failing to merge Silverlight 4 .dlls.

.NET obfuscator and automated error reporting

Moderators: Luke Jefferson, melvyn.harbour, dom.smith

SA failing to merge Silverlight 4 .dlls.

Postby mikeanderson12 » Tue Jul 05, 2011 9:50 pm

I am running an OOB app.

With all settings set to 'Off', the SL app works fine after processing.

When I elect to embed a required Silverlight .dll (our app's common/shared code) into the application .dll the OOB app displays the white screen of death.

No errors are returned from the build process.

If error reporting is enabled, no errors are reported.

No options are turned on except for merging the required Silverlight .dll.

Thanks!

[ALSO]

I have read the document on troubleshooting common problems... :)
mikeanderson12
 
Posts: 4
Joined: Tue Jul 05, 2011 9:29 pm

Postby mikeanderson12 » Mon Jul 11, 2011 11:30 pm

*bump*?
mikeanderson12
 
Posts: 4
Joined: Tue Jul 05, 2011 9:29 pm

Postby james.davies » Tue Jul 12, 2011 3:20 pm

Hi Mike.

Apologies for the delay in replying.

You wrote "embed" once but I assume you were referring to merging. Please clarify.

Merging can break namespaces , which means it will cause problems should you use reflection to call a method or type by name.

You can trace any use of reflection using the error reporting as described in the troubleshooting guide. Or you can try embedding the dependency instead.
Thanks,
James Davies
Technical Support Engineer
Red Gate Software
james.davies
 
Posts: 46
Joined: Tue Apr 19, 2011 2:39 pm

Postby mikeanderson12 » Tue Jul 12, 2011 5:20 pm

Thanks for the reply.

Yes, I meant 'merge'.

I can obfuscate .dll 'A' separately from .dll 'B' and recreate the .xap using the two obfuscated .dlls and my SL application works correctly. It would seem that I should be able to process both .dll's together.

No reflection is used to call methods in either .dll.

If merging can break namespaces, then there are known conditions which could be communicated to the user, yes?

Aside from reflection, which makes sense, which other conditions will break merging?
mikeanderson12
 
Posts: 4
Joined: Tue Jul 05, 2011 9:29 pm

Postby james.davies » Thu Jul 14, 2011 7:07 pm

Merging and possible failure modes (see troubleshooting section) are described here:
http://www.red-gate.com/supportcenter/C ... rtAssembly

You should be able to process the entire project as described here
http://www.red-gate.com/supportcenter/C ... 362558.htm
Thanks,
James Davies
Technical Support Engineer
Red Gate Software
james.davies
 
Posts: 46
Joined: Tue Apr 19, 2011 2:39 pm


Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 1 guest