I'm not exactly sure how you guys are opening the solution file, but there seems to be a bug there somewhere.
This solution of ours, "Mobiltec.Framework.Net40.sln", contains various projects with the default Debug|AnyCPU configuration as usual, but there is one project there that uses a specific platform because of a dependency with a non MSIL assembly from Oracle (https://www.nuget.org/packages/odac.client.x86/)
Due to this dependency, my extension project also needs to be set to x86 (which makes a lot of sense and is ok), and this is the result of running the inspectcode.exe tool on the solution:
INFO: Opening solution D:\TFS05\Framework2\Main\Sources\Mobiltec.Framework.Net40.sln
INFO: Default location will be used to store solution caches.
ERROR: The OutputPath property is not set for project 'Mobiltec.Framework.Oracle.csproj'. Please check to make sure that uou have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='AnyCPU'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. in file 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets' at (609:5)
The question then is: why are you using this specific configuration to open the solution? Visual Studio works fine with it because if knows that the .Oracle project's default platform is not AnyCPU, but x86.
I want to run the tool on the TFS build process but if there is a project with a different configuration|platform in the solution I get various errors that are not supposed to be there.
Is there any setting for the tool that makes it use the default combination for each project, like VS does?