問題描述
Visual Studio ‑ 將按鈕/複選框添加到工具欄以切換只讀文件屬性, (Visual Studio ‑ Add a button/checkbox to a toolbar to switch the readonly file property,)
我一直在嘗試向我的 Visual Studio IDE (2005) 添加一個按鈕/複選框,這樣我就可以更改文件的只讀屬性,而無需轉到 Windows 資源管理器並在那裡進行更改。
我們有時在我的團隊中經常這樣做。
你們中有人有這樣的經歷嗎?宏對我來說很好。我想加快這項任務。
如果你知道我可以使用的東西,請告訴我。
謝謝!
參考解法
方法 1:
If you just need to update read‑only files from Visual Studio, you should be able to change your environment preferences to "Allow editing of read‑only files; warn when attempt to save".
The following link describes: http://blogs.msdn.com/b/zainnab/archive/2010/09/15/edit‑read‑only‑files‑vstipedit0074.aspx
(by Juan Alvarez、Seymour)