0

We currently use MSBuild task to call on subversion commands. eg. <SvnCommit Message="Automated build server checkin" ToolPath="$(SvnPath)" Targets="$(MSBuildProjectDirectory)"/>

The issue is that it forces subversion command "svn ci" to use switches --non-interactive --no-auth-cache for our builds.

Does anyone know of any arguments that I can use in the MSBuild task <SVNCommit ... > to get rid of switches --non-interactive --no-auth-cache from being used?

Thx.

1 Answers1

0

According to the most full and self-describing documentation you can easily change any command line parameter. In your particular case you should add two args to the call

<SvnCommit Message="Automated build server checkin" 
           ToolPath="$(SvnPath)" 
           Targets="$(MSBuildProjectDirectory)"
           NonInteractive="false"
           NoAuthCache="false"/>

PS: their test shows that those two args is really used by default.

Sergio Rykov
  • 4,176
  • 25
  • 23
  • I get the below errors druing builds when using those arguments. error MSB4064: The "NonInteractive" parameter is not supported by the "SvnCommit" task. Verify the parameter exists on the task. error MSB4064: The "NoAuthCache" parameter is not supported by the "SvnCommit" task. Verify the parameter exists on the task. Can u advise? – user1518050 Jul 27 '12 at 21:45