Having spaces in the solution's path (or any other file path for that matter) throws an exception and causes the build to fail.
Paths should be placed in quotation marks and/or spaces in paths should be correctly escaped.