In most cases, I do several separate events in one project and in order to have some logical separation between them, I use a personal project version control system (namely fossil , but this is too many details).
This allows me to do my work in different branches, so that I can combine them later. In the meantime, I am supporting a trunk branch in which I am doing work on the part of my colleagues.
But when I switch from branch to another (to perform some merge action for example) and return to where I came from, Visual studio will detect timestamp modifications and rebuild files that have not actually been changed.
Can I ask Visual Studio that the source file changed when only a hash of its contents changed?
As it seems, the answer “no” is another way to achieve what I would like, for which I begin generosity. Still read above.
Do you know a simple way to have a snapshot of the timestamps and MD5 hashes of my source files, and then, for each file from which the timestamp has been changed, compare the MD5 and rollback timestamp modifications if MD5 has not changed?
Thank you for your responses.
source share