Today I was trying to put together a simple NAnt build script for a 'play' project of mine. This build script is real simple, it only calls MSBuild right now. However, when I was running the script I kept getting the message 'error MSB4126: The specified solution configuration "Debug|HPD" is invalid.'
For the life of me I could not figure out what this was. I spent time on Google, and could not find anything useful. What made this more strange was that I could compile via the solution file.
Finally it dawned on me to check my Environment
Variables on my machine. About half way down was a variable 'Platform' with a value of 'HPD'. I removed that variable, and rebooted, now all is right with the world again (ok, all is right with the build).
Hope this helps someone else out, cause I know it was pissing me of.
Till next time,
Posted
02-29-2008 1:55 PM
by
Derik Whittaker