This project is read-only.

Windows Vista : getting error when running Deploy_Everything-vs2008.bat

Topics: Developer Forum
Jan 14, 2009 at 4:48 AM
Just quick note, maybe it will save time for somebody (seems like non Vista users don't have this problem):

I was getting error when tried to deploy your sources:

"C:\\cms\n2Source\msbuild.proj" (Deploy target) (1) ->
"C:\\cms\n2Source\src\N2.Everything-vs2008.sln" (default target)
(2) ->
(ValidateSolutionConfiguration target) ->
  C:\\cms\n2Source\src\N2.Everything-vs2008.sln : error MSB4126:
The specified solution configuration "Release|MCD" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration.

Which can be easily fixed by editing build.bat to have line:

%windir%\Microsoft.NET\Framework\v3.5\MSBuild.exe /maxcpucount /p:Platform="Any CPU" %*
Jan 14, 2009 at 7:34 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.