Problems with Creating Build Types in VSTS Beta 2

Monday, May 16, 2005 11:00:00 PM (Central Standard Time, UTC-06:00)
If you trying to play around with Team Build in VSTS 2005 and run into the following dialog when trying to add a build type:
 
"No Workspace Exists for the given project."
 
Try doing the following:
 
  1. Goto the Visual Studio command prompt.
  2. Type in "h.exe workspace 'workspacename' /s:servername" where servername  is the name of your Team Foundation Server and workspace name is the name of the workspace you couldn't create a build type for.  You can find out more about h.exe and it parameters here.
  3. Enter the Name of the workspace you couldn't create the build type for, and map a source repository folder to the local folder where the source is found.  The graphic below shows the h.exe UI.  The Name field should show your workspace name.  In the working folders grid you should identify the source "repository folder" and map it the "local folder" where the actual source is found.


  4. Click OK
 
That should update the mappings and fix the error above.
 
Now you can go back into Visual Studio and create a build type.
  1. Right click on Team Builds within your project and select "New Team Build Type".
  2. Enter the name of the build and any comments you have about the build type.
  3. Select the solution you want included in this build type. If you don't have any solutions in your list (mine shows one below CompositeUI\CompositeUI-CS.sln) then make sure that you have checked the source into Team Source.  If you added to Team Source through the IDE, it may not be checked in.
 
 Note: You can verify that you have source checked in by double clicking Version Control item in in the Team Explorer view of your project, then selecting your project in the Source Control Explorer.  You should be able to see your source.

 
  1. Select the solutions and build order, click next.
  2. Complete the configurations, click next.
  3. Define the Location of the build server and build drops, click next.
  4. Select the build options you want, click next.
  5. Review the summary and finish.
 
You should be ready to build the configuration.
 
Comments are closed.