I use devenv.exe to pass it a sln file and use /Rebuild switch, internally the devenv.exe spins up multiple msbuild's. I have a need to run unparalleled build, with only one thread of msbuild. Surely, I can use directly msbuild.exe with /M set to 1, but I have a specific requirement to use devenv.exe.
Is there any way by a command line switch or by using some environment variable which will allow me to do aforementioned.
Thanks in advance.