VersionInfo.cs doesn't update.

May 16, 2012 at 3:51 AM

It seems that I have to clear the contents of VersionInfo.cs for the HgVersionFile Task to update it during a build.  Am I missing some configuration detail?  

Jun 21, 2012 at 12:42 PM

Um... you shouldn't have to do that. At least on my system, the existing VersionInfo.cs file gets completely replaced by the one generated by HgVersionFile from the template.

Hopefully by now you've sorted it out anyway (since this post is so old), but if not let me know and I'll see what I can do to help.