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?

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 assets file project.assets.json not found in Visual Studio

This post tells you how to solve the error assets file project.assets.json not found in Visual Studi…

Read Post

Code to help you debug an umbraco issue on a remote site

This post gives you some razor code to help you see the values of the IPublishedContent item's prope…

Read Post

How to set the default page base type to UmbracoViewPage in Umbraco

In this post I share with you what Ronald Barendse taught us about setting the pageBaseType in Umbra…

Read Post

How to fix corrupt accented characters in Excel for a C# export as CSV

This post will help you fix the issue where you csv export has corrupt characters when opening it in…

Read Post