How can I refresh files that have been changed outside of Visual Studio?
To refresh the change file automatically, we need to change a setting. Open Visual Studio, choose 'Tools' from menu bar Alt + T. Go to Options > Environment > Documents. Enable these two options
- Detect when file is changed outside the environment
- Reload modified files unless there are unsaved changes
The second choice is optional. Press OK. Restart Visual Studio if needed.