Sgen.exe and smartassembly

.NET obfuscator and automated error reporting

Sgen.exe and smartassembly

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


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

Posts: 3
Joined: Mon Aug 16, 2010 7:21 am

Postby Brian Donahue » Tue Nov 09, 2010 11:12 am

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: 6590
Joined: Mon Aug 23, 2004 9:48 am

Return to SmartAssembly 5

Who is online

Users browsing this forum: No registered users and 0 guests