Red Gate forums :: View topic - Sgen.exe and smartassembly
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 5
SmartAssembly 5 forum

Sgen.exe and smartassembly

Search in SmartAssembly 5 forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
JohnP



Joined: 16 Aug 2010
Posts: 3

PostPosted: Mon Nov 08, 2010 3:50 am    Post subject: Sgen.exe and smartassembly Reply with quote

Hi,

Is there a process to generate or include the XmlSerializers.dll's into a combined dll.

For the moment I have three dll's.

a.dll, b.dll,c.dll

all are currently being obfuscarted/ processed via smartassembly into c.dll.

But I also post-process b.dll to produce the b.XmlSerializer.dll

How does this file get into c.dll ??????

As I've noticed that .NET simply looks for c.XmlSerializer.dll and not b.XmlSerializer.dll

??
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6646

PostPosted: Tue Nov 09, 2010 12:12 pm    Post subject: Reply with quote

Hello John,

If you produce XmlSerializers using SGEN, SmartAssembly cannot detect them as dependencies and therefore will not attempt to merge or embed them, same as any other satellite assembly. This means you must ship both the protected dll and the XmlSerializers.dll.

What I have suggested in the past, if this is a problem, is to run SGEN.exe as part of the program's installation. This would make the .NET SDK a prerequisite for your app, though.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. 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