Sgen.exe and smartassembly

.NET obfuscator and automated error reporting

Moderators: Luke Jefferson, Alex.Davies, melvyn.harbour

Sgen.exe and smartassembly

Postby JohnP » Mon Nov 08, 2010 3:50 am

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

??
JohnP
 
Posts: 3
Joined: Mon Aug 16, 2010 8:21 am

Postby Brian Donahue » Tue Nov 09, 2010 12:12 pm

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.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am


Return to SmartAssembly 5

Who is online

Users browsing this forum: No registered users and 0 guests