From the course: Remote Collaboration for Developers with Microsoft Live Share

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Use read-only mode to prevent editing code

Use read-only mode to prevent editing code - Visual Studio Tutorial

From the course: Remote Collaboration for Developers with Microsoft Live Share

Start my 1-month free trial

Use read-only mode to prevent editing code

- [Instructor] When you look at this dropdown for creating a session, there's two options, Start the Session and Start a Read-Only Session. What we've look at so far has been starting a session that allows our participants to have read, write privileges. If you're worried about people editing your files, then you can, or if you're teaching a class, or you're doing a large of group of people and you don't want them to be able to edit any of your code, then choose this second option, Start Read-Only Session. We'll copy the URL and then we'll go over to Terri's computer and see what it looks like over there. I've connected Terri to the session. In Explorer, she can see the same file structure she saw before, but now when she tries to edit any of the files. Let's say she goes into DrawLogo and picks this LogoRenderer, she sees the content, but you notice at the top it's marked as read-only, and this, of course, is for…

Contents