hi All!
I met proplem with building a web site. I read many article, i sure that the solution file mapped to correctly path of source folder. while i running build, only a file has name: "BuildLog.txt" was droped down in "Drop Location".
the content of buildlog.txt file is below:
please help me if you find out the way to solve this issue.
thanks.
Build started 6/5/2006 4:42:35 PM.
__________________________________________________
Project "D:\BuildOSAKA\OSAKA\NewOSAKABuild\BuildType\TFSBuild.proj" (EndToEndIteration target(s)):
Target InitializeEndToEndIteration:
UpdateBuildNumberDropLocation BuildNumber='NewOSAKABuild_20060605.2' DropLocation='\\teamserver\BuildedOSAKA\NewOSAKABuild_20060605.2'
Target CoreClean:
Removing directory "D:\BuildOSAKA\OSAKA\NewOSAKABuild\BuildType\..\Sources".
Target InitializeBuild:
Creating directory "D:\BuildOSAKA\OSAKA\NewOSAKABuild\BuildType\..\Sources".
Target InitializeWorkspace:
DeleteWorkspaceTask Name="TEAMSERVER_OSAKA_NewOSAKABuild" TeamFoundationServerUrl="http://teamserver:8080/"
Workspace TEAMSERVER_OSAKA_NewOSAKABuild does not exist.
CreateWorkspaceTask Name="TEAMSERVER_OSAKA_NewOSAKABuild" TeamFoundationServerUrl="http://teamserver:8080/" MappingFile="WorkspaceMapping.xml" LocalPath="D:\BuildOSAKA\OSAKA\NewOSAKABuild\BuildType\..\Sources" TeamProject="OSAKA"
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error : The path D:\BuildOSAKA\OSAKA\NewOSAKABuild\Sources is already mapped in workspace TEAMSERVERBUILD.
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error MSB4018: The "CreateWorkspaceTask" task failed unexpectedly.
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error MSB4018: Microsoft.TeamFoundation.VersionControl.Client.MappingConflictException: The path D:\BuildOSAKA\OSAKA\NewOSAKABuild\Sources is already mapped in workspace TEAMSERVERBUILD.
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error MSB4018: at Microsoft.TeamFoundation.VersionControl.Client.InternalCache.CheckForMappingConflicts(WorkspaceInfo workspace)
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error MSB4018: at Microsoft.TeamFoundation.VersionControl.Client.InternalCache.CheckForMappingConflicts(Workspace workspace)
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error MSB4018: at Microsoft.TeamFoundation.VersionControl.Client.Client.CreateWorkspace(Workspace workspace)
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error MSB4018: at Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.CreateWorkspace(String name, String owner, String comment, WorkingFolder[] mappings)
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error MSB4018: at Microsoft.TeamFoundation.Build.Tasks.CreateWorkspaceTask.Execute()
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error MSB4018: at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound)
Done building target "InitializeWorkspace" in project "TFSBuild.proj" -- FAILED.
Done building project "TFSBuild.proj" -- FAILED.
Build FAILED.
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error : The path D:\BuildOSAKA\OSAKA\NewOSAKABuild\Sources is already mapped in workspace TEAMSERVERBUILD.
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error MSB4018: The "CreateWorkspaceTask" task failed unexpectedly.
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error MSB4018: Microsoft.TeamFoundation.VersionControl.Client.MappingConflictException: The path D:\BuildOSAKA\OSAKA\NewOSAKABuild\Sources is already mapped in workspace TEAMSERVERBUILD.
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error MSB4018: at Microsoft.TeamFoundation.VersionControl.Client.InternalCache.CheckForMappingConflicts(WorkspaceInfo workspace)
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error MSB4018: at Microsoft.TeamFoundation.VersionControl.Client.InternalCache.CheckForMappingConflicts(Workspace workspace)
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error MSB4018: at Microsoft.TeamFoundation.VersionControl.Client.Client.CreateWorkspace(Workspace workspace)
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error MSB4018: at Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.CreateWorkspace(String name, String owner, String comment, WorkingFolder[] mappings)
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error MSB4018: at Microsoft.TeamFoundation.Build.Tasks.CreateWorkspaceTask.Execute()
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error MSB4018: at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound)
0 Warning(s)
2 Error(s)
Time Elapsed 00:00:01.75

I can not execute building a web site in team builds?
DBatesX
:) welcome back!
hi All!
After building sucessfully. I did not see any output which is in binaries folder.
I relize that, there is the warning after build success.
warning :
Solution: , Project: OSAKA.sln, Compilation errors and warnings
D:\FixBuild\OSAKA\BuildOSAKA060606\Sources\OSAKA.sln(0,0): warning MSB4126: The specified solution configuration "Release|Any CPU" 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.
please help me if you know why.
thanks
HAV
hi Steve, Aaron!
Thanks for supporting from you, now i can build it successfully.
Barry_S
hi People!
I fixed this iusse.
thanks
brehmli
It looks like you already have the build path mapped in another workspace. Mappings are unique per user, per machine. So TeamBuild can't put the path into the new workspace named "TEAMSERVER_OSAKA_NewOSAKABuild " until you have removed it from the "TEAMSERVERBUILD" workspace on the build machine.
This is the part of the log that shows this:
CreateWorkspaceTask Name="TEAMSERVER_OSAKA_NewOSAKABuild"
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error : The path D:\BuildOSAKA\OSAKA\NewOSAKABuild\Sources is already mapped in workspace TEAMSERVERBUILD.
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(306,5): error MSB4018: The "CreateWorkspaceTask" task failed unexpectedly.
Hope this helps...
Steve
Rutger van Dijk
The problem is that the build machine is attempting to create a workspace into which the source files for your build can be sync'd, but a workspace already exists in the same location which cannot be overwritten. You should be able to fix this using the "tf workspaces" command with the "remove" option on your build machine. See the following page for more information on this command:
http://msdn2.microsoft.com/en-us/library/54dkh0y3.aspx
Alternatively, you can just point the build directory at a different location which is not already part of another workspace.
-Aaron