Hi,
I am using VS2012, and have an ASP.Net application with an associated TFS2010 build definition that builds on a build server. I am attempting to get this build to perform an automated deployment to an internal Win2008R2 web server (IIS7) using WebDeploy.
I have installed WebDeploy 3.5 on the web server and set the file system and IIS permissions, and IIS delegation rules correctly (I think). I have added the required MSBuild arguments to the build definition, specifying the following:
/p:DeployOnBuild=true /p:DeployTarget=MSDeployPublish /p:MSDeployPublishMethod=WMSVC /p:MSDeployServiceUrl=https://MyAppserver:8172/msdeploy.axd /p:AllowUntrustedCertificate=true /p:DeployIISAppPath=MyIISSite /p:Username=MyDomain\MyUsername /p:Password=MyPassword
Since adding these arguments to the build definition, the build fails with the following error:
"C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets(3676,5): error : Package/Publish task Microsoft.Web.Publishing.Tasks.IsCleanMSDeployPackageNeeded failed to load Web Deploy assemblies. Microsoft Web Deploy is not correctly installed on this machine. Microsoft Web Deploy v3 or higher is recommended. "
Is there a conflict between WebDeploy 3.5 and TFS2010? Or have I incorrectly installed WebDeploy on the web server somehow?
This is all new to me, so not sure what to try next - any help would be greatly appreciated!