try-convert
try-convert copied to clipboard
Support source control systems with read-only files (Perforce, SVN)
Currently it looks like you are using static calls to System.IO.File to write to files. This fails because our files are read-only. I can't check out our whole solution (100s projects, 1000s files). It also makes it very difficult for me to find files you have created.
Using the open-closed principal, would it be possible for you to maybe emit an event that I can hook into so I can check out the file you are trying to change or create?
OnFileEdit OnFileCopy OnFileMove OnFileCreated OnFileDeleted