Summarize the local revision(s) of a working copy.
Namespace: MSBuild.Community.Tasks.Subversion
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)
Syntax
Example
The following example gets the revision of the current folder.
Copy Code | |
---|---|
<Target Name="Version"> <SvnVersion LocalPath="."> <Output TaskParameter="Revision" PropertyName="Revision" /> </SvnVersion> <Message Text="Revision: $(Revision)"/> </Target> |
Inheritance Hierarchy
System.Object
Microsoft.Build.Utilities.Task
Microsoft.Build.Utilities.ToolTask
MSBuild.Community.Tasks.Subversion.SvnVersion
Microsoft.Build.Utilities.Task
Microsoft.Build.Utilities.ToolTask
MSBuild.Community.Tasks.Subversion.SvnVersion
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
Documentation version 1.0.0.0.