er..., Site project again

I am trying to build a site proj (a new site created by wizard) in Team Build.
I have set the value of "BuildToPlatform" to "Mixed Platforms",
<ConfigurationToBuild Include="Release|Mixed Platforms">
<FlavorToBuild>Release</FlavorToBuild>
<PlatformToBuild>Mixed Platforms</PlatformToBuild>
</ConfigurationToBuild>

but I got the following msg:

Build started 10/20/2005 8:51:12 PM.
__
Project "d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\BuildType\TFSBuild.proj" (EndToEndIteration target(s)):

Target InitializeEndToEndIteration:

Target InitializeBuild:
Creating directory "d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\BuildType\..\Sources".
Creating directory "\\ppgcmtychatnet1\builds\AspNetPrjBuild_20051020.1".
Target InitializeWorkspace:
Workspace PPGCMTYCHATNET1_AspNetPrj_AspNetPrjBuild does not exist.
Target CoreGet:
Getting d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\Sources
Getting d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\Sources\ASPNETSite1
Getting d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\Sources\TeamBuildTypes
Getting d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\Sources\ASPNETSite1\ASPNETSite1
Getting d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\Sources\ASPNETSite1\ASPNETSite1.sln
Getting d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\Sources\ASPNETSite1\ASPNETSite1.vssscc
Getting d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\Sources\ASPNETSite1\ASPNETSite1\Default.aspx
Getting d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\Sources\ASPNETSite1\ASPNETSite1\Default.aspx.cs
Getting d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\Sources\ASPNETSite1\ASPNETSite1\Web.Config
Getting d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\Sources\TeamBuildTypes\AspNetPrjBuild
Getting d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\Sources\TeamBuildTypes\AspNetPrjBuild\TFSBuild.proj
Getting d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\Sources\TeamBuildTypes\AspNetPrjBuild\TFSBuild.rsp
Getting d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\Sources\TeamBuildTypes\AspNetPrjBuild\VCOverrides.vsprops
Getting d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\Sources\TeamBuildTypes\AspNetPrjBuild\WorkspaceMapping.xml
LabelAspNetPrjBuild_20051020.1@/PPGCMTYCHATNET1_AspNetPrj_AspNetPrjBuild is successfully created
Target CoreCompile:
Creating directory "d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\BuildType\..\Sources\..\Binaries".

Setting BinariesRoot=d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\BuildType\..\Sources\..\Binaries
__
Project "d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\BuildType\TFSBuild.proj" is building "d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\Sources\ASPNETSite1\ASPNETSite1.sln" (Build target(s)):

Target ValidateSolutionConfiguration:
d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\Sources\ASPNETSite1\ASPNETSite1.sln :warning MSB4126: The specified solution configuration "Release|Mixed Platforms" 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.
Done building target "ValidateSolutionConfiguration" in project "ASPNETSite1.sln".

Done building project "ASPNETSite1.sln".
Target GetChangeSetsAndUpdateWorkItems:
Querying the contents of label'LAspNetPrjBuild_20051020.1@$/AspNetPrj'.
Analyzing labelsL@$/AspNetPrj andLAspNetPrjBuild_20051020.1@$/AspNetPrj.
Querying item history.
Changeset '96' was included in this build.
Changeset '99' was included in this build.
Changeset '100' was included in this build.
Changeset '101' was included in this build.
Changeset '102' was included in this build.
Target CopyLogFiles:
Copying file from "d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\BuildType\ErrorsWarningsLog.txt" to "\\ppgcmtychatnet1\builds\AspNetPrjBuild_20051020.1\ErrorsWarningsLog.txt".
Copying file from "d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\BuildType\Mixed PlatformsRelease.txt" to "\\ppgcmtychatnet1\builds\AspNetPrjBuild_20051020.1\Mixed PlatformsRelease.txt".

Build succeeded.
d:\builds\aspnetsite\AspNetPrj\AspNetPrjBuild\Sources\ASPNETSite1\ASPNETSite1.sln : warning MSB4126: The specified solution configuration "Release|Mixed Platforms" 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.
1 Warning(s)
0 Error(s)

Time Elapsed 00:00:20.32

Need help.

[5858 byte] By [Jemmy] at [2007-12-17]
# 1
It's unfortunate the way this works, but I think if your .SLN only has a web site in it, and no other projects, then you need to set the PlatformToBuild to ".NET" instead of "Mixed Platforms". Basically, try to look inside the .SLN file, and see what Platforms are declared there.
RajeevGoelmsft at 2007-9-9 > top of Msdn Tech,Visual Studio,Visual Studio MSBuild...
# 2
Thank you.
It works now.

I wonder if asp.net compiling will be directly supported in final shipped TFS.

Jemmy at 2007-9-9 > top of Msdn Tech,Visual Studio,Visual Studio MSBuild...

Visual Studio

Site Classified