Re: Dotfuscator and ClickOnce
- From: Stewart Berman <saberman@xxxxxxxxxxxxx>
- Date: Mon, 27 Jul 2009 15:10:42 -0400
I was able to apply a strong name to the application's executable by not doing it in Visual Studio
but as part of the script I was using to run Dotfuscator. So the steps are:'
1. Publish from Visual Studio
2. Apply Dotfuscator
3. Apply strong name to executable
4. Update the .application and .manifest files via Mage.exe.
5. Install
Unfortunately, Dofuscator makes the application unable to access Settings. It appears that the
entire exercise of trying to use Dofuscator for ClickOnce was futile as the results does work
anyway.
Joe Kuemerle <Joe Kuemerle@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
"Linda Liu[MSFT]" wrote:.
Doesn't the ApplicationName.exe have to be signed again after applyingDotfuscator?
After applying Dotfuscator, only the application manifest and deployment
manifest must be updated and resigned.
The error message is:Strong name signature not valid for this assembly ApplicationName.exe
It looks like you strong-name the assembly. I have tried to strong-name an
executable and apply dotfuscator on it. The result is that the executable
can't run at all.
This occurs because obfuscation changes the binary by renaming all of the
symbols within in and thus the assembly no longer hashes to the original
value of the strong name signature. Whenever a strong named assembly is
obfuscated it must be resigned after the obfuscation has taken place in order
that a new strong name signature is generated. This also applies to
Authenticode signing of assemblies that you wish to obfuscate.
- References:
- Dotfuscator and ClickOnce
- From: Stewart Berman
- RE: Dotfuscator and ClickOnce
- From: Linda Liu[MSFT]
- Re: Dotfuscator and ClickOnce
- From: Stewart Berman
- Re: Dotfuscator and ClickOnce
- From: Linda Liu[MSFT]
- Re: Dotfuscator and ClickOnce
- From: Joe Kuemerle
- Dotfuscator and ClickOnce
- Prev by Date: Re: Service won't start (udp listener)
- Next by Date: Re: Service won't start (udp listener)
- Previous by thread: Re: Dotfuscator and ClickOnce
- Next by thread: Re: Dotfuscator and ClickOnce
- Index(es):
Relevant Pages
|