Is it just me or is the documentation on this project really scarce?
I'm trying to find how to use the FtpCreateRemoteDirectory and FTP functionality in general, but can't seem to find anything.
Googling FtpCreateRemoteDirectory, only shows the project's source code...
The documentation is sublime, but missing completely. However, the code is really easy to read - at least for finding out available tasks and their inputs/outputs.
The way I do it:
Install a .NET decompiler like Jetbrains dotPeek (or some other .NET Reflector free clone).
PM> Install-Package MSBuildTasks
(from VS) OR> nuget install MSBuildTasks
(from cmd line)Open
slnDir\.build\MSBuild.Community.Tasks.dll
in the above mentioned dotPeek, navigate to namespaceMSBuild.Community.Tasks
and double-click the task you're interested in.Profit!
The latest releases on Github do not include documentation (issue #24).
Older releases on Tigris do include documentation in the form of a CHM file: After installing MSBuild.Community.Tasks.msi from the project download page, the documentation is in the installation folder. The typical path is "C:\Program Files (x86)\MSBuild\MSBuildCommunityTasks\MSBuild.Community.Tasks.chm".
You can use the XSD to check available options as well.
Cheers.
The documentation is like you say really scarce. The best I found is to download the latest source code here : https://github.com/loresoft/msbuildtasks
The latest documentation can also be viewed via GitHub directly without downloading the source: https://github.com/loresoft/msbuildtasks/tree/master/Documentation
If installed using the MSI, you can also look at the XSD found in the installation folder (C:\Program Files (x86)\MSBuild\MSBuildCommunityTasks\MSBuild.Community.Tasks.xsd) to at least see which tasks are avaialable to you and the documentation connected with them.
Came across this as I was looking for the same info, so may as well add an example of a complete MSBuild target which creates an FTP folder and then copies the contents to the new location. NB the example uploads to a secure site, so you may need to change the port number to suit your situation.