I struggled with this for a while. I have an application that uses a lot of mem and really benefits from using LargeAddressAware.
The problem in short: with the LAA flag, the application does not start.
Empirical Results:
1) I have a script release that runs the entire ClickOnce publication, then overwrites the executables and dll, then re-creates the manifest, signs it, etc.
2) Running the script gives me an application that installs and works beautifully
3) Adding this to post-build violates the application:
editbin /LARGEADDRESSAWARE <path>/obj/Publish/app.exe
(yes, I know, we have an assembly configuration called Publish - idiotic - but it works ...)
The error message I get is:
Activating \ betabox \ appbeta \ app.application has thrown an exception. The following error messages were detected:
+ Strong name signature is not valid for this app.exe assembly.
Both my manifest and exe are signed with a valid code signing certificate. And the script works fine when the flag is not set.
I tried without my script, and also only the editbin command in post-assembly and publishing via VS - the same error.
So - is it impossible to publish an application with LARGEADRESSAWARE installed through ClickOnce?
Thanks!
deployment clickonce
andyhammar
source share