yck1509 / ConfuserEx

An open-source, free protector for .NET applications
http://yck1509.github.io/ConfuserEx/
Other
3.55k stars 1.62k forks source link

Click Once C# with ConfuserEx #174

Open paul5196 opened 9 years ago

paul5196 commented 9 years ago

This may not be the best place to ask or request some feedback on this topic.

I have been trying to configure MSbuild to use ConfuserEx (CLI) to build a click once deployment. The MSbuild is being modified by using an Obfuscation targets file originally created by Nathan Jones (http://www.nathanpjones.com/wp/2010/04/obfuscating-a-clickonce-publish/).

Any help please or an alternative method to create a click once.

yck1509 commented 9 years ago

Hi, I'm not experienced with ClickOnce deployment so I can't give much advice. However, you might found a discussion on the issue in the old Confuser website useful. Later I might try to make a guide to use ClickOnce to wiki.

lolaparra commented 9 years ago

Hello, I need help, I am trying to manually publish a ClickOnce application after use the ConfuserEx at my application. If there is any rule of protection, after create the manifest and the deployment, automatically create a shortcut at startup and it works fine, but if use some rules, like anti ildasm, anti dump and anti debug, making the same steps, when try to execute the application from startup menu there is an exception "TypeInitializationException" (System.Uri). How can I use the rules but there will be any problem after install with ClickOnce?

PD: if delete the shortcut from startup and create myself the shortcut there was any problem.

Thank you.

lolaparra commented 9 years ago

Hello again, I am testing with only anti ildasm and anti debug and its working fine, so I suppose that is the rule for anti dump it create the problem when create the shortcut, why? I have no idea