How to make Visual Studio check if file content changed before building?

Answered How to make Visual Studio check if file content changed before building?

  • Thursday, April 05, 2012 7:20 AM
     
     

    Visual Studio uses timestamps to determine whether file has changed or not before building it. However, in my case it is not sufficient as timestamps may change, but the content will remain the same. Is there a way to make Visual Studio check if file content changed (e.g. using MD5 hash) and only build if it did? Any add-in or built-in functionality?

    System info: VS Team System 2008 Version 3.5 SP1, Windows 7 64-bit.

All Replies

  • Tuesday, April 10, 2012 6:49 AM
    Moderator
     
     Answered

    Hi Sergiy,

    >>Is there a way to make Visual Studio check if file content changed (e.g. using MD5 hash) and only build if it did? Any add-in or built-in functionality?

    Based on my knowledge, it is impossible. We cannot perform this.

    Thank you for your understanding!


    Lucy Liu [MSFT]
    MSDN Community Support | Feedback to us