VisualStudioTeamServices GettingStarted Hans-PetterHalvorsen,M.Sc. VisualStudioTeamServices • VisualStudioTeamServicesisaplatform takingcareofallaspectsoftheprocessof developingsoftware(thesoftware developmentlifecycle) • YoucanshareDocumentsandCodewithyour Team,reportBugs,etc. TeamFoundationServer(TFS) vs.VisualStudioTeamServices(VSTS) VisualStudio VisualStudio don'tcareifyouuseTFSorVSTS.Youjusthook itupusing anURL. Team Foundation Server(TFS) vs. “TeamFoundation Server”(TFS).Thisissoftwareyoucan installonaserverinyourownnetwork.Youandyourteam canthenhookupVisualStudio tothatserveranduseTFS. Youhavetobuythesoftware,buy licenses forusersand useyourownserver. VisualStudio TeamServices (VSTS) “Visual StudioTeamServices”(VSTS)isanonline version ofTFS– hostedbyMicrosoft.Youdon'tneed toinstallanything.Youneedtopayamonthly fee (until5usersisforfree). VSTSisavailablefromhttp://www.visualstudio.com https://en.wikipedia.org/wiki/Team_Foundation_Server WhatisTFS/VSTS? • TeamFoundationServer(TFS)/VisualStudioTeamServices (VSTS)isanApplicationLifecycleManagement(ALM)system, – i.e.,thesystemtakescareofallaspectsinsoftwaredevelopment – fromplanning,requirements,coding,testing,deploymentand maintenance. • TFS/VSTSisaSourceCodeControl(SCC),BugTracking,Project Management,andTeamCollaborationplatform • TightlyintegratedwithVisualStudioasMicrosoftisthevendor ofbothVisualStudioandTFS/VSTS • Cloudbasededition(HostingService):“VisualStudioTeam Services”(former:“VisualStudioOnline”and“Team FoundationService”) VisualStudioTeamServices(VSTS) • FormerlyknownasVisualStudioOnline(VSO) • VSTSisaSourceCodeControl(SCC),BugTracking, ProjectManagement,andTeamCollaborationplatform • IntegratedwithVisualStudio • TFSintheCloud(Thismeansyoudon'tneedtohost theserveryourself) • Freeforupto5users www.visualstudio.com TFS/VSTS Clients Server LabVIEW MSSCCIProvider Others Eclipse Web Access TFS/VSTS MS Excel Services MS Project Repository SQLServer Git (TFVC) TeamFoundationServer(TFS)isanApplication LifecycleManagement(ALM)system Visual Studio TeamExplorer File Explorer PowerTools TFS/VSTSisanApplicationLifecycleManagement(ALM)System TheSoftware Deployment Development Maintenance Lifecycle(SDLC) Testing SDLCManagement BugTracking MSProject VisualStudio MSExcel Implementation Planning Project Management TFS/VSTS Requirements Analysis CollaborationPlatform Scrum SourceCodeControl Agile (SCC) Design VisualStudioTeamServices www.visualstudio.com GettingStarted SigninwithyourexistingMicrosoftAccount Enteryoure-mailaddresshere Ifyoudon't haveanexisting Microsoft account(hotmail,...), you needtocreateanewaccount 10 VSTSAccount CreateaVisualStudioTeamServicesAccount 11 CreateyourFirstProject EntertheNameofyourProjecthere Selecttheseoptions ProjectStartPage(Dashboard) OntheDashboard you seedifferent Widgets Add orChangeWidgets AddProjectMembers ThisWindowpops upwhereyoucan Add orRemoveTeamMembers ... ClickheretoManage TeamMembers OtherLinksWidgetontheDashboard Iterations CreateIterationsforthedifferent releases,milestones orsprints (internaland/or external);e.g., Alpha, Beta,RC,RTM Areas Example: Thedifferent software modules couldbedivided intodifferentAreas TheProductBacklog AlltheWork thatshould bedoneintheProject TheSprintBacklog AlltheWork that should bedone in theNextSprint (Iteration) JustDragItemsfrom theProductBacklogto theSprintBacklog CreateTasks TaskBoard DragandDropTasks VisualStudio How-TouseTFS/VSTSFeaturesinsideVisualStudio Hans-PetterHalvorsen,M.Sc. UsingTFS/VSTSwithVisualStudio • • • • • ConnecttoTFS/VSTS AddSourceCodetoTFS/VSTS CheckIn/CheckOut TeamExplorer SourceControlExplorer OpeninVisualStudio Signin TFS/VSTSinVisualStudio 25 TeamExplorer+SourceControlExplorer CreatelocalFolderonyourHarddrive CreatealocalFolderonyour harddrivewhereyouwanttostoreyourfiles(Documents, CodeFiles,etc.) Note!ThisisjustanExample. WorkspaceMapping CreateaFolderStructure Right-clickandselect“NewFolder” FolderStructureExample Upload/CheckInChangestotheServer WhenyouareFinished youneedto Upload/CheckInChangestotheServer (VisualStudio Online). TheFoldersyou createdshould thenbevisibletothe otherMembers onyourTeam TheFoldersarenowavailibleontheServer 32 AddSourceCode CheckIn AddCodetoSourceControl CreateaNewProject, e.g. WindowsDesktop MakesuretoSelect thisOption!! GetLatest Version Beforeworking onyour Code,you should alwaysgetthelatest versionfrom theServer EditingyourCode TheCodeyouareediting arecheckedoutautomatically Checkinyour Codewhen Finished Butbefore youcheckinyour codeyoushould firstgetthe latestversionfrom theserver andmakesureyourCode Compilewithout Error! WorkItems– NewBug WorkItemsareusedtoAdd Items totheProduct Backlog,Report Bugs,etc.LotsofdifferentWork ItemsTypesexists.Youcaneven createNewWorkItemTypes Queries • UsedtofindexistingWorkItems • YoumaycreatedifferentQueriestomakeiteasytofindtheWork Itemsyouneed • Queriesmaybepersonalorvisibleforeverybodyintheproject (TeamQueries) 40 Hans-PetterHalvorsen,M.Sc. UniversityCollegeofSoutheastNorway www.usn.no E-mail:[email protected] Blog:http://home.hit.no/~hansha/
© Copyright 2026 Paperzz