Upload
others
View
69
Download
0
Embed Size (px)
Citation preview
Hans-PetterHalvorsen,M.Sc.
GettingStarted
VisualStudioTeamServices
VisualStudioTeamServices• VisualStudioTeamServicesisaplatformtakingcareofallaspectsoftheprocessofdevelopingsoftware(thesoftwaredevelopmentlifecycle)
• YoucanshareDocumentsandCodewithyourTeam,reportBugs,etc.
TeamFoundationServer(TFS)vs.VisualStudioTeamServices(VSTS)
https://en.wikipedia.org/wiki/Team_Foundation_Server
TeamFoundationServer(TFS)
VisualStudioTeamServices
(VSTS)
“TeamFoundationServer”(TFS).Thisissoftwareyoucaninstallonaserverinyourownnetwork.YouandyourteamcanthenhookupVisualStudiotothatserveranduseTFS.Youhavetobuythesoftware,buylicensesforusersanduseyourownserver.
“VisualStudioTeamServices”(VSTS)isanonlineversionofTFS– hostedbyMicrosoft.Youdon'tneedtoinstallanything.Youneedtopayamonthlyfee(until5usersisforfree).VSTSisavailablefromhttp://www.visualstudio.com
vs.
VisualStudio
VisualStudiodon'tcareifyouuseTFSorVSTS.YoujusthookitupusinganURL.
VisualStudioTeamServices(VSTS)
• FormerlyknownasVisualStudioOnline(VSO)• VSTSisaSourceCodeControl(SCC),BugTracking,ProjectManagement,andTeamCollaborationplatform
• IntegratedwithVisualStudio• TFSintheCloud(Thismeansyoudon'tneedtohosttheserveryourself)
• Freeforupto5users www.visualstudio.com
TFS/VSTS
TFS/VSTS
Visual Studio
LabVIEWServer Clients
FileExplorer
Repository
Services
TeamExplorer
MSSCCIProvider
PowerTools
MS Excel
MS Project
Others
Web Access
SQLServer(TFVC)
TeamFoundationServer(TFS)isanApplicationLifecycleManagement(ALM)system
Git
Eclipse
RequirementsAnalysis
Design
Implementation
Testing
MaintenancePlanningTheSoftware
DevelopmentLifecycle(SDLC)
Deployment
TFS/VSTS
TFS/VSTSisanApplicationLifecycleManagement(ALM)System
SourceCodeControl(SCC)
BugTracking
ProjectManagement
CollaborationPlatformScrum
Agile
VisualStudio
SDLCManagement
MSExcelMSProject
VisualStudioTeamServiceswww.visualstudio.com
GettingStarted
9
SigninwithyourexistingMicrosoftAccount
Ifyoudon'thaveanexistingMicrosoftaccount(hotmail,...),youneedtocreateanewaccount
Enteryoure-mailaddresshere
VSTSAccount
10
CreateaVisualStudioTeamServicesAccount
CreateyourFirstProject
Selecttheseoptions
EntertheNameofyourProjecthere
ProjectStartPage(Dashboard)
AddorChangeWidgets
OntheDashboardyouseedifferentWidgets
AddProjectMembers
...
ClickheretoManageTeamMembers
ThisWindowpopsupwhereyoucanAddorRemoveTeamMembers
Iterations
CreateIterationsforthedifferentreleases,milestonesorsprints(internaland/orexternal);e.g.,Alpha,Beta,RC,RTM
OtherLinksWidgetontheDashboard
Areas
ThedifferentsoftwaremodulescouldbedividedintodifferentAreas
Example:
TheProductBacklogAlltheWorkthatshouldbedoneintheProject
TheSprintBacklog
JustDragItemsfromtheProductBacklogtotheSprintBacklog
AlltheWorkthatshouldbedoneintheNextSprint(Iteration)
CreateTasks
TaskBoard
DragandDropTasks
VisualStudio
Hans-PetterHalvorsen,M.Sc.
How-TouseTFS/VSTSFeaturesinsideVisualStudio
UsingTFS/VSTSwithVisualStudio• ConnecttoTFS/VSTS• AddSourceCodetoTFS/VSTS• CheckIn/CheckOut• TeamExplorer• SourceControlExplorer
OpeninVisualStudio
Signin
TFS/VSTSinVisualStudio
24
TeamExplorer+SourceControlExplorer
CreatelocalFolderonyourHarddriveCreatealocalFolderonyourharddrivewhereyouwanttostoreyourfiles(Documents,CodeFiles,etc.)
Note!ThisisjustanExample.
WorkspaceMapping
CreateaFolderStructure
Right-clickandselect“NewFolder”
FolderStructureExample
Upload/CheckInChangestotheServer
WhenyouareFinishedyouneedtoUpload/CheckInChangestotheServer(VisualStudioOnline).TheFoldersyoucreatedshouldthenbevisibletotheotherMembersonyourTeam
TheFoldersarenowavailibleontheServer
31
AddSourceCode
CheckIn
AddCodetoSourceControlCreateaNewProject,e.g.WindowsDesktop
MakesuretoSelectthisOption!!
GetLatestVersion
BeforeworkingonyourCode,youshouldalwaysgetthelatestversionfromtheServer
EditingyourCode
TheCodeyouareeditingarecheckedoutautomatically
CheckinyourCodewhenFinished
ButbeforeyoucheckinyourcodeyoushouldfirstgetthelatestversionfromtheserverandmakesureyourCodeCompilewithoutError!
WorkItems– NewBug
WorkItemsareusedtoAddItemstotheProductBacklog,ReportBugs,etc.LotsofdifferentWorkItemsTypesexists.YoucanevencreateNewWorkItemTypes
Queries• UsedtofindexistingWorkItems• YoumaycreatedifferentQueriestomakeiteasytofindtheWork
Itemsyouneed• Queriesmaybepersonalorvisibleforeverybodyintheproject
(TeamQueries)
39
Hans-PetterHalvorsen,M.Sc.
UniversityCollegeofSoutheastNorwaywww.usn.no
E-mail:[email protected]:http://home.hit.no/~hansha/