简体   繁体   中英

Visual Studio 2017 lock file in solution explorer

I have a C# application, a VS2017 solution with 7 projects.

Is it possible to lock a *.cs file or a project in order to avoid me to do undesired modification?

Your best bet issource control . Using systems like TFS , Git , or Subversion , you can track changes, see who has changed what, roll back to previous states, and in some cases, mark files as read-only. Without source control, marking a file in the file system as read-only is your only real option.

A server is not required for source control. While some solutions do require one, Git and SVN can be entirely local.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM