visual studio 2012 - MSBuild publish task fails - Unable to create directory -
i have web project want publish after successful build. in edit build definition window enter following in msbuild arguments textbox:
/p:deployonbuild=true /p:publishprofile=pushtodrott
this profile working locally, , on our tfs server machine when run in command line. on server use account local admin priviliges.
what not work task. following error presented:
c:\programfiles(x86)\msbuild\microsoft\visualstudio\v11.0\web\deploy\microsoft.web.publishing.deploy.filesystem.targets (93): unable create directory "\\remote_server_name\disk$\directory". access path '\\remote_server_name\disk$\directory' denied.
this security problem, how go around , solve it? wich user task run by? msbuild handing on task other process?
when ran task on tfs server machine, user did login as?
when tfs build runs on server process run under user configured run tfs build agent service. find user , provide access mentioned path , work.
Comments
Post a Comment