Does SmartAssembly.Attributes.dll have to be redistributed?

.NET obfuscator and automated error reporting

Does SmartAssembly.Attributes.dll have to be redistributed?

Postby Eimmerman » Mon Feb 13, 2012 9:37 pm

If I am using custom attributes in my project to stop a few things from being obfuscated. Does the SmartAssembly.Attributes.dll have to be re-distributed with my executable or does RedGate somehow pull out the reference or do some other magic?

Posts: 5
Joined: Mon Feb 13, 2012 9:27 pm

Postby Simon C » Tue Feb 14, 2012 11:06 am

The attributes dll will be automatically merged into the output assembly for you, so you don't have to redistribute any of the SmartAssembly dlls along with your application.

Alternatively, you can declare your own attributes with the correct name in your source code (for example, DoNotPruneAttribute); when checking attributes, SA only cares about the name of the attribute type, not its namespace or the assembly it comes from.
Simon C
Posts: 140
Joined: Tue Feb 26, 2008 3:56 pm
Location: Red Gate Software

Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 0 guests