I am having an amazing struggle trying to do something that ought to be trivial: increase the stack space used by my application.
To make a long story short, I have found the magic command that can make this happen: editbin.
I've figured out how to run it as a post-build event from Visual Studio.
HOWEVER, and this is killing me, when I do run it from VS, the assembly won't run as part of the normal build. Instead, it gets an error: Error while trying to run project: Could not load file or assembly 'KnowExp' or one of its dependecies. The module was expected to contain an assembly manifest'.
The SECOND time I try to start it though, it works (presumably because it doesn't do the build of the project that time).
I don't know if the problem is in editbin, VS, or my build command, but it is mysterious and annoying. Any help would be appreciated.

Trying to increase the stack space