I am trying to Opfuscate my project with Dotfuscator Enhanced CE 4.2. everything goes ok it creates a opfuscated version in a separate directory that works ok. The problems start when trying to deploy it with Clickonce then the solution is rebuild and the non opfuscated version is deployed. I have found various solutions that shows how to alter the vbproj (xml) file but none of them seems to work. Now I have made trial and errors for a week, although this could be a very learning experience I am desperate for a way to solve this problem. Thanks in advance. Peer