The specified solution configuration “Debug|X64” is invalid

I have a build script that finds all the solutions in a version control repository and builds them.  I do not specify the platform as many of the solutions and projects have different platform settings.

Today in one of the branches my script started giving me the following error:
The specified solution configuration “Debug|X64” is invalid
Adding the following to the start of my build script solved this issue:
SET PLATFORM=
Post a Comment