Is it possible to obfuscate as part of PostBuild rather than AfterBuild?
Seth
Posts: 15 Bronze 1
We are currently obfuscating our dlls using MSBuild integration with the latest version of SmartAssembly (v6.11.1.433), as part of the AfterBuild target in the dll's csproj file. Many of our projects also include a PostBuild event that copies the dll to other places that it may be needed for other builds (especially installers). However, this means that the PostBuild-copied version of the dll is not obfuscated yet. Is there a means of having the obfuscation step take place before the PostBuild event copy?
It should be noted that I am not well-versed with MSBuild (which may or may not be obvious with this question).
It should be noted that I am not well-versed with MSBuild (which may or may not be obvious with this question).
Tagged:
Comments
We figured out that doing the obfuscation after the IncrementalClean and before the PostBuild was the best fit for us. Otherwise, the resulting project file looks quite similar to the documentation.
Thanks!