17
Source Control and Your Add-in Tom Jebo Sr Escalation Engineer

Source Control and Your Add-indownload.microsoft.com/download/0/F/1/0F1B141A-9C69-4BEA...2016/04/20  · Deciding •Using version control is a good idea •Git and TFVC are supported

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Source Control and Your Add-indownload.microsoft.com/download/0/F/1/0F1B141A-9C69-4BEA...2016/04/20  · Deciding •Using version control is a good idea •Git and TFVC are supported

Source Control and Your Add-in

Tom Jebo

Sr Escalation Engineer

Page 2: Source Control and Your Add-indownload.microsoft.com/download/0/F/1/0F1B141A-9C69-4BEA...2016/04/20  · Deciding •Using version control is a good idea •Git and TFVC are supported

Agenda

• TFS or git

• VSO (Visual Studio Online)

• Github

Page 3: Source Control and Your Add-indownload.microsoft.com/download/0/F/1/0F1B141A-9C69-4BEA...2016/04/20  · Deciding •Using version control is a good idea •Git and TFVC are supported

TFVC or gitDeciding what svc to use

Page 4: Source Control and Your Add-indownload.microsoft.com/download/0/F/1/0F1B141A-9C69-4BEA...2016/04/20  · Deciding •Using version control is a good idea •Git and TFVC are supported

Deciding

• Using version control is a good idea

• Git and TFVC are supported in VS

• Centralized or distributed?

Git is the default for new projects in VSO.

Standard Git is what Visual Studio uses.

Recommend using Github for this Haockathon.

https://msdn.microsoft.com/en-us/library/vs/alm/code/overview

Page 5: Source Control and Your Add-indownload.microsoft.com/download/0/F/1/0F1B141A-9C69-4BEA...2016/04/20  · Deciding •Using version control is a good idea •Git and TFVC are supported

VSO (Visual Studio Online)Using VSO as a remote repository server

Page 6: Source Control and Your Add-indownload.microsoft.com/download/0/F/1/0F1B141A-9C69-4BEA...2016/04/20  · Deciding •Using version control is a good idea •Git and TFVC are supported

Create a Microsoft Account

Page 7: Source Control and Your Add-indownload.microsoft.com/download/0/F/1/0F1B141A-9C69-4BEA...2016/04/20  · Deciding •Using version control is a good idea •Git and TFVC are supported

VSO with Microsoft Account is free

Page 8: Source Control and Your Add-indownload.microsoft.com/download/0/F/1/0F1B141A-9C69-4BEA...2016/04/20  · Deciding •Using version control is a good idea •Git and TFVC are supported

Setting up for hosting your repository

Page 9: Source Control and Your Add-indownload.microsoft.com/download/0/F/1/0F1B141A-9C69-4BEA...2016/04/20  · Deciding •Using version control is a good idea •Git and TFVC are supported
Page 10: Source Control and Your Add-indownload.microsoft.com/download/0/F/1/0F1B141A-9C69-4BEA...2016/04/20  · Deciding •Using version control is a good idea •Git and TFVC are supported

Setting up VSO in VS

Page 11: Source Control and Your Add-indownload.microsoft.com/download/0/F/1/0F1B141A-9C69-4BEA...2016/04/20  · Deciding •Using version control is a good idea •Git and TFVC are supported

VS Team Services FAQ

• https://www.visualstudio.com/en-us/support/visual-studio-faq-vs.aspx

• Answers many questions about accounts and features

• VS and Eclipse are supported

• For Eclipse, you’ll want Team Explorer Everywhere plug-ins• http://dl.microsoft.com/eclipse/tfs

• Understand services available for free• https://www.visualstudio.com/en-us/get-started/setup/sign-up-for-visual-

studio-team-services

Page 12: Source Control and Your Add-indownload.microsoft.com/download/0/F/1/0F1B141A-9C69-4BEA...2016/04/20  · Deciding •Using version control is a good idea •Git and TFVC are supported

Github & VS integration

Page 13: Source Control and Your Add-indownload.microsoft.com/download/0/F/1/0F1B141A-9C69-4BEA...2016/04/20  · Deciding •Using version control is a good idea •Git and TFVC are supported

Create repository on Github

Page 14: Source Control and Your Add-indownload.microsoft.com/download/0/F/1/0F1B141A-9C69-4BEA...2016/04/20  · Deciding •Using version control is a good idea •Git and TFVC are supported

VS Github Extension

https://visualstudiogallery.msdn.microsoft.com/75be44fb-0794-4391-8865-c3279527e97d?SRC=VSIDE

Page 15: Source Control and Your Add-indownload.microsoft.com/download/0/F/1/0F1B141A-9C69-4BEA...2016/04/20  · Deciding •Using version control is a good idea •Git and TFVC are supported

Quick Steps To Start a Project on Github

• Download the Github VS extension

• Create your Add-In project in VS

• With the project open in VS, publish via the Github extension

Simply start sharing, cloning and collaborating!

Page 16: Source Control and Your Add-indownload.microsoft.com/download/0/F/1/0F1B141A-9C69-4BEA...2016/04/20  · Deciding •Using version control is a good idea •Git and TFVC are supported

DemoWalk through the steps to publish an Outlook Add-In to Github

Page 17: Source Control and Your Add-indownload.microsoft.com/download/0/F/1/0F1B141A-9C69-4BEA...2016/04/20  · Deciding •Using version control is a good idea •Git and TFVC are supported

Happy Hacking!