This project is read-only.

Create remote share failing

Jun 22, 2011 at 9:32 AM
Edited Jun 22, 2011 at 9:34 AM

Using the following MSBuild command from the extension pack:

  <Target Name="DeployCreateShares">
    <MSBuild.ExtensionPack.FileSystem.Share TaskAction="Create" MachineName="$(RemoteServerName)" ShareName="JBOSSLOGS" SharePath="E:\jboss\server\all\log" CreateSharePath="true" Description="JBOSS Thunderhead Log share"/>

The problem I have is that the extension pack seems to be checking for the sharepath on the CURRENT machine and failing.

The error thats returned is "error : DirectoryNotFoundException: Could not find a part of the path 'E:\jboss\server\all\log'.\r

If I create the empty structure on my current machine, the code then runs and creates the share correctly on the target REMOTE machine.


Jun 24, 2011 at 9:44 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Aug 24, 2011 at 11:03 PM

resolved here: