'Can you set a file to read-only in AzureDevOps?
Sometimes, we need to include public source code in one of our Dot Net projects, to build, but we want to prevent our copy of the the public source code from being updated, because those changes will be lost when we upgrade to any newer version of such source code.
(The 15 similar question hits that came up when I typed in this question were not relevant...)
Solution 1:[1]
TFVC supports folder- and file-level permissions. Please refer to the documentation [1][2].
You'll want to define who shouldn't have the ability to modify the folders containing the code, then change their "Check in" permission to "not set".
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Daniel Mann |