Sgen.exe and smartassembly

JohnPJohnP Posts: 5
edited November 9, 2010 6:12AM in SmartAssembly 5
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

??

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    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.
Sign In or Register to comment.