Set COMPLUS_FORCEENC to 1 for any process launched using "Start without debuggging"
I assume that the fact that you spent time on engineering the 'Edit and continue on attach' feature announced here:
means that you recognise that there are circumstances where developers don't want to launch their process under the debugger even when they are planning to use it later. This is great; so thanks! Unfortunately it's a little bit awkward to use at the minute but I think this could be addressed with a minor improvement in Visual Studio...
The ideal thing would be to simply make sure that COMPLUS_FORCEENC=1 is added to the environment of any process launched using "Start without debugging". AFAICT, the only undesired consequence of this would be the allocation of some additional memory for developers launching this way who do not want to use Edit and continue. If this is a concern the feature could be optional.
Thanks for reading.
Nick Form commented
Developers might be more familiar with the command I'm referring to above as "Ctrl + F5" start.