Create a new channel as a copy of main.
Rename main to:
Delete main? This cannot be undone.
// cl.exe -clr -c t.cpp -Fo"cxx-cli-aux.obj.coff-i386" __declspec(appdomain) int PerAppDomain = 0;