Hi,
Using the last version on VS 2010, I have the following build error:
(126): Mercurial command "hg.exe identify -n" exited with code -1.
abort: there is no Mercurial repository here (.hg not found)
This problem come from a special msBuild task that update version numbers based on the mercurial revision number. For that, I am using
MSBuild Versioning Task I got on Codeplex. Basically, it seems that this task gets the Hg revision number by issuing the hg command on the repository the source is coming from.
As I understand where the problem is coming from, I am not able to find a workaround to bypass this problem, probably because I do not have a real understanding of the VS build process yet.
Regards,
Christophe