title: msbuild community task and svn
body: <p>I try use svn msbuild community tasks?</p>
  
  <pre><code>&lt;SvnCopy SourcePath="$(TrunkPath)" DestinationPath="$(TagPath)" Message="AutoBuild: create tag for build" /&gt;
  </code></pre>
  
  <p>but have next error in log:</p>
  
  <pre><code>Microsoft (R) Build Engine Version 4.0.30319.1
  [Microsoft .NET Framework, Version 4.0.30319.237]
  Copyright (C) Microsoft Corporation 2007. All rights reserved.
  
  Build started 30.11.2011 13:16:37.
  Project "d:\repository\FusionEnterprise\FusionWebServices\trunk\WebServicesSetu
  p.msbuild" on node 1 (CreateSvnTag target(s)).
  CreateSvnTag:
    C:\Program Files (x86)\VisualSVN\bin\svn.exe copy "..\trunk" "..\tags\7.3.2.9
    " --message "AutoBuild: create tag for build" --non-interactive --no-
    auth-cache
    svn: E205009: Local, non-commit operations do not take a log message or revis
    ion properties
  d:\repository\FusionEnterprise\FusionWebServices\trunk\WebServicesSetup.msbuild
  (104,5): error MSB6006: "svn.exe" exited with code 1.
  Done Building Project "d:\repository\FusionEnterprise\FusionWebServices\trunk\W
  ebServicesSetup.msbuild" (CreateSvnTag target(s)) -- FAILED.
  
  
  Build FAILED.
  
  "d:\repository\FusionEnterprise\FusionWebServices\trunk\WebServicesSetup.msbuil
  d" (CreateSvnTag target) (1) -&gt;
  (CreateSvnTag target) -&gt;
    d:\repository\FusionEnterprise\FusionWebServices\trunk\WebServicesSetup.msbui
  ld(104,5): error MSB6006: "svn.exe" exited with code 1.
  
      0 Warning(s)
      1 Error(s)
  
  Time Elapsed 00:00:00.20
  </code></pre>
  
  <p>There used VisualSVN command line applicatin.</p>
  
  <p>But when I write in console: <code>svn --version</code>, get next output</p>
  
  <pre><code>svn, version 1.7.1-SlikSvn-1.7.1-X64 (SlikSvn/1.7.1) X64
     compiled Oct 26 2011, 14:18:24
  </code></pre>
  
  <p>There used SlikSvn command line application.</p>
  
  <pre><code>Path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;c:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\SlikSvn\bin;C:\Program Files (x86)\VisualSVN\bin
  </code></pre>
  
  <p>I try use next msbuild task:</p>
  
  <pre><code>&lt;SvnCopy SourcePath="$(TrunkPath)" DestinationPath="$(TagPath)" Message="AutoBuild: create tag for build" ToolPath="C:\Program Files\SlikSvn\bin\svn.exe" /&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;SvnCopy SourcePath="$(TrunkPath)" DestinationPath="$(TagPath)" Message="AutoBuild: create tag for build" ToolPath="C:\Program Files\SlikSvn\bin" /&gt;
  </code></pre>
  
  <p>But it's work incorrect.</p>
  
  <p>I don't understand how set right svn application for msbuild and can't find this informatin in google.
  Is anybody can clarify this?</p>
  
  <p>Added:
  If use task <code>&lt;SvnCopy SourcePath="$(TrunkPath)" DestinationPath="$(TagPath)" /&gt;</code> VisualSVN work right.</p>