Hi,
I've been wrestling with this for a while now. I have an app that uses a lot of mem and really would benefit from being LargeAddressAware.
Problem in short: With the LAA-flag, the app won't start.
Empirical results:
1) I have a release script that runs the entire ClickOnce publishing, then re-signs the executables and dlls, then re-creates the manifest, signs it etc
2) Running the script gives me an app that installs and works nicely
3) Adding this to the post-build breaks the app:
editbin /LARGEADDRESSAWARE <path>/obj/Publish/app.exe
(yes, I know, we have a build config that's called Publish - idiotic - but works...)
The error message I get is:
Activation of \betabox\appbeta\app.application resulted in exception. Following failure messages were detected:
+ Strong name signature not valid for this assembly app.exe.
Both my the manifest and the exe is signed by a valid code signing cert. And the script works fine when the flag does not get set.
I've tried without my script as well, with just the editbin command in the post-build and publishing through VS - same error.
So - is it totally impossible to publish an app with LARGEADRESSAWARE set through ClickOnce?
Thanks!