Error MSB6006: "svnversion.exe" exited with code 1

I am trying to get the version number from svn to put on the AssemblyInfo.cs file. I already did this on my computer and worked great. But when I use hudson to automatically create and deploy my application on the server, this error appears. Does anyone know why? Thanks!

+6
source share
1 answer

This is because you are using an old version of svnversion.

Try opening a command prompt, go to the svnversion directory and do the same work as MSBuild.

CMD:

  cd C: \ ProgramFiles \ TortoiseSVN \ bin
 [ENTER]
 svnversion C: \ VisualStudio \ Projects \ YourDirectory
 [ENTER]

 SVNVERSION should answer why its not working, in my case was by E155021: This client is too old to work with thew working copy at ...
+6
source

Source: https://habr.com/ru/post/956249/


All Articles