Update 25 Sept 2017 : Microsoft have closed our bug report with a Wont Fix status.. seems they are too busy with other things.
The recent Visual Studio 2017 Update (also known as VS 15.3) introduced a problem with command line compilation when the Lightweight Solution Load feature is enabled for the solution.
If you are using devenv (ie you have the Use MSBuild option unchecked in FinalBuilder), and have the action set to Rebuild... be aware that while the action will succeed, nothing actually gets compiled!
Just to be clear, this is not a FinalBuilder (or Continua CI) problem :
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.com" /rebuild "Release|Any CPU" ConsoleApps.sln
Microsoft Visual Studio 2017 Version 15.0.26730.3.
Copyright (C) Microsoft Corp. All rights reserved.
========== Rebuild All: 0 succeeded, 0 failed, 0 skipped ==========
Turning off Lightweight Solution Load on the solution (don't forget to save the solution) results in proper compilation :
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.com" /rebuild "Release|Any CPU" ConsoleApps.sln
Microsoft Visual Studio 2017 Version 15.0.26730.3.
Copyright (C) Microsoft Corp. All rights reserved.
1>------ Rebuild All started: Project: ConsoleApps1, Configuration: Release Any CPU ------
2>------ Rebuild All started: Project: ConsoleApp2, Configuration: Release Any CPU ------
3>------ Rebuild All started: Project: ConsoleApp3, Configuration: Release Any CPU ------
4>------ Rebuild All started: Project: ConsoleApp4, Configuration: Release Any CPU ------
1> ConsoleApps1 -> C:\Users\vincent.OFFICE\Documents\Visual Studio 2017\Projects\ConsoleApps\ConsoleApps1\bin\Release\ConsoleApps1.exe
2> ConsoleApp2 -> C:\Users\vincent.OFFICE\Documents\Visual Studio 2017\Projects\ConsoleApps\ConsoleApp2\bin\Release\ConsoleApp2.exe
3> ConsoleApp3 -> C:\Users\vincent.OFFICE\Documents\Visual Studio 2017\Projects\ConsoleApps\ConsoleApp3\bin\Release\ConsoleApp3.exe
4> ConsoleApp4 -> C:\Users\vincent.OFFICE\Documents\Visual Studio 2017\Projects\ConsoleApps\ConsoleApp4\bin\Release\ConsoleApp4.exe
========== Rebuild All: 4 succeeded, 0 failed, 0 skipped ==========
MSBuild is not affected by this bug (
reported to Microsoft here). Unless you have a very good reason for using devenv to compile visual studio solutions these days, just use MSBuild.