What is it?

Visual Studio Live Share is like Google Docs for Programming. You can use it in Visual Studio and VS Code.

It allows you to share your folder, project or solution with one or more people. They are then able to see your cursor position on their screen and also edit files.

It is a way to do remote pair programming or even mob programming without the need to take control of someone's machine, you can just share the project you are working on.

Ok I'm sold, how do I set it up?

1. Make sure your version of Visual Studio is at least version 15.6 or higher. 15.7+ is recommended. To update Visual Studio, go to Tools Extensions and Updates.

2. Download the VS Live Share extension. It's currently in Preview at the time of writing this article.

3. Make sure you are signed in to Visual Studio or VS Code

4. Open a project, folder or solution in Visual Studio or VS Code

5. Click the Share button in the top right corner to generate a share link. It should be copied to your clipboard automatically. If a firewall window pops up, allow access.

6. Send the link to someone who has VS Live Share setup on their machine.

7. The other person just needs to click the link, choose the program to open it with e.g. Visual Studio or VS Code.

They should be able to start sharing with you. If they have problems sharing, it might be because their firewall is blocking it. Get them to open a folder or project and click on share to prompt the firewall window and then click on allow access. Then get them to end their share session and click on your link again.

That's it

Once you have everything installed and set up it's really easy to do a Live Share. I can't wait to do some pair programming and help out some colleagues or codeshare.co.uk readers with any issues.

Want to thank me?

If I've helped you out and you want to thank me, why not buy me a coffee?

About the author

Paul Seal

Umbraco MVP and .NET Web Developer from Derby (UK) who specialises in building Content Management System (CMS) websites using MVC with Umbraco as a framework. Paul is passionate about web development and programming as a whole. Apart from when he's with his wife and son, if he's not writing code, he's thinking about it or listening to a podcast about it.

Related Posts

How to solve the error "Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0 ..."

This post will show you how to solve the error "Could not load file or assembly 'Microsoft.CodeDom.P…

Read Post

Cyber Monday Deals

As it is Cyber Monday and you are probably looking for some tech related deals, I thought I would cr…

Read Post

How to use Donut Caching in Umbraco and MVC

In this post I show you how easy Donut Caching is to use in Umbraco and MVC. It's very clever and no…

Read Post

How to start working with Umbraco v8

In this post I give you step by step instructions for getting Umbraco v8 forked, checked out and wor…

Read Post