2017-02-06 41 views
0

Bambooを使用して.Net projをリモートサーバーに展開しようとしています。 私はMSBuildのタスクmsbuildエラーMSB3191:リモートサーバーに公開中にディレクトリを作成できません

msbuild <solution file> /p:DeployOnBuild=true /p:PublishProfile="publishXMLFile" 

PublishXMLFile使用していた を竹に新しいです:サーバーでのユーザーの管理者権限で

<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 
<PropertyGroup> 
    <WebPublishMethod>FileSystem</WebPublishMethod> 
    <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration> 
    <LastUsedPlatform>Any CPU</LastUsedPlatform> 
    <SiteUrlToLaunchAfterPublish /> 
    <LaunchSiteAfterPublish>True</LaunchSiteAfterPublish> 
    <ExcludeApp_Data>False</ExcludeApp_Data> 
    <publishUrl>\\<server.IP.Address>\Path\To\Publish\Folder</publishUrl> 
    <DeleteExistingFiles>True</DeleteExistingFiles> 
</PropertyGroup> 
</Project> 

現在のログ記録、およびフォルダがあまりにも共有されています。私は、私が行方不明ですか理解していない

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Deploy\Microsoft.Web.Publishing.Deploy.FileSystem.targets(93,5): error MSB3191: Unable to create directory "\\<server.IP.Address>\Path\To\Publish\Folder". Access to the path '\\<server.IP.Address>\Path\To\Publish\Folder' is denied. [C:\bamboo\bamboo-agent-home\xml-data\build-dir\132710426-132546751\Project\Path\ProjectName.csproj] 

: はまだ私には、次のエラーを取得しています。

私は竹を初めて使っています。

答えて

0

エラーメッセージにアクセス許可が拒否されました。 Bambooユーザーがディレクトリを作成または変更する権限を持っているかどうかを確認してください。 "\\ Path \ To \ Publish \ Folder"を選択します。再帰的なアクセス許可がない可能性があります。

関連する問題