Red Gate forums :: View topic - Does SmartAssembly.Attributes.dll have to be redistributed?
Return to www.red-gate.com RSS Feed Available

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

Does SmartAssembly.Attributes.dll have to be redistributed?

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
Eimmerman



Joined: 13 Feb 2012
Posts: 1

PostPosted: Mon Feb 13, 2012 10:37 pm    Post subject: Does SmartAssembly.Attributes.dll have to be redistributed? Reply with quote

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?

Thanks,
Eric
Back to top
View user's profile Send private message
Simon C



Joined: 26 Feb 2008
Posts: 140
Location: Red Gate Software

PostPosted: Tue Feb 14, 2012 12:06 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic 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