- Clone this repository
- Open
vs-reload.sln
in Visual Studio 2017 - Open
a.cpp
,b.cpp
(source files) andc.cpp
(external file) into tabs on the main window - Checkout the previous commit using git (e.g.
git checkout HEAD~1
) - Return to Visual Studio, when prompted to reload the solution hit "Reload All"
- Note that the tabs for
b.cpp
(not part of the solution in the previous commit) andc.cpp
have been closed