Multiple dependencies obfuscation
rcd.guerra
Posts: 15
Hello,
we are in the process of evaluating SA.
What is the best way of obfuscating dependant assemblies ?
We have a main application that will hold about a hundred referenced assemblies.
As a requirement we need to keep each reference as a separate file to ease the process of updating each reference.
If we use this main app as the base for SA, but without dependencies merging or embedding it seems we cannot obfuscate the referenced assemblies.
A solution would be to have an .saproj file for each assembly. Maybe using MSBuild support would be the best option.
We would also like to ask if there is a chance of having a master generic .saproj file that could be used for a set of assemblies because we want to apply the same obfuscation configuration to all, and creating a .saproj file seems a bit overwhelming.
Can you provide us some hint on this topic ?
Thanks in advance!
Kind regards,
Ricardo
we are in the process of evaluating SA.
What is the best way of obfuscating dependant assemblies ?
We have a main application that will hold about a hundred referenced assemblies.
As a requirement we need to keep each reference as a separate file to ease the process of updating each reference.
If we use this main app as the base for SA, but without dependencies merging or embedding it seems we cannot obfuscate the referenced assemblies.
A solution would be to have an .saproj file for each assembly. Maybe using MSBuild support would be the best option.
We would also like to ask if there is a chance of having a master generic .saproj file that could be used for a set of assemblies because we want to apply the same obfuscation configuration to all, and creating a .saproj file seems a bit overwhelming.
Can you provide us some hint on this topic ?
Thanks in advance!
Kind regards,
Ricardo
Comments
What I have recommended in the past is to set up a SmartAssembly project containing all of the settings that you want to use and add a task to the VS project file to do the build, changing the input and output tags to the name of the assembly. For example: The full set of options you can use with MSBUILD and VS Projects are documented here:
http://www.red-gate.com/supportcenter/C ... 032253.htm
For different assemblies, you have to create new projects.