I'm trying to get Dotfuscator to work with ILMerge, but whichever order I apply them it always breaks somehow:
- When I use dotfuscator and then ILMerge I am getting a message the the pdb database is old.
- When I do vice-versa dotfuscator would simply throw an error saying that there are no assemblies to build.
How can I get Dotfuscator to play well with ILMerge?
The commercial version of Dotfuscator contains a feature called Linking, which does the same thing as ILMerge. If you have the commercial version, I highly recommend you use Linking.
If you are using the Community Edition, I would recommend merging your assemblies first with ILMerge, and then taking that output assembly and adding it as an input in your Dotfuscator project. There should be no issues with this scenario. If you try this and are still having problems, please post a thread on the PreEmptive support forums and I will be happy to assist you in getting things working.