SvnCheckout Class

MSBuild

Checkout a local working copy of a Subversion repository.


Namespace: MSBuild.Community.Tasks.Subversion
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Public Class SvnCheckout
    Inherits SvnClient
C#
public class SvnCheckout : SvnClient
C++
ref class SvnCheckout : SvnClient
J#
public class SvnCheckout extends SvnClient
JScript
public class SvnCheckout extends SvnClient

Example

Checkout a working copy

 Copy Code
            <Target Name="Checkout">
              <RemoveDir Directories="$(MSBuildProjectDirectory)\Test\Checkout" />
              <SvnCheckout RepositoryPath="file:///d:/svn/repo/Test/trunk" 
                           LocalPath="$(MSBuildProjectDirectory)\Test\Checkout">      
                <Output TaskParameter="Revision" PropertyName="Revision" />
              </SvnCheckout>
              <Message Text="Revision: $(Revision)"/>
            </Target>
            

Inheritance Hierarchy

System.Object
   Microsoft.Build.Utilities.Task
      Microsoft.Build.Utilities.ToolTask
         MSBuild.Community.Tasks.Subversion.SvnClient
            MSBuild.Community.Tasks.Subversion.SvnCheckout

Thread Safety

Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.