Hi there, I'm having a problem getting web packing via web deploy working, but only(!) on a remote tfs build agent! If I execute the same build process on the tfs host machine it works perfectly. During the build process I can't find any errors/warnings in
the build log (Logging Verbosity == Diagnostic) On both machines (tfs host, build agent machine) "Microsoft Web Deploy V2" is installed. Ony ideas? Best regards, Eric
msdeployIIS Web deployment toolms deployWeb DeployVisual Studioweb Deploy publishingweb deployment packagemsbuild msdeploymsbuildweb deployment agent servicewebbdeployTFS Deploymentmsdeploy msbuildMicrosoft Web DeployWebDeployVisual Studio 2010web Deploy 2.1
If you don't get any error or warnings, can you explain what about the process is not working? I'm afraid I don't know TFS extremely well, but if it's a Web Deploy-related issue I could probably suggest something.
Hi Kristina, the build works, but the packaging mechanism isn't triggered. (No xxx_Package is created.) I don't know how msdeploy is triggered from / integrated into msbuild - but something doens't work in my case. Perhaps there's some expected infrastructure
missing - I don't know.. Eric
Hi Tyler4711, do you have Visual Studio installed on your build agent? It is required to build web packages from Team Build. The reason why you are not seeing any errors is because we ship our build tasks/targets themselves as a part of the .NET framework
so you are able to build web projects, but the publishing related tasks and targets are distributed with Visual Studio itself.
Hi Sayed, thank you for your response! Unfortunately I did not install VS on the build agent machine. So this might be the problem - I'll try this out. Are those publishing related tasks bound to any feature set, which I have to pay respect to during the installation
routine of VS? Or is it a "core" feature which is installed regardless of the settings one may choose during the setup routine of VS? Thanks, Eric
Tyler4711
3 Posts
Web Packaging won't work on remote build agent
Mar 06, 2012 03:58 PM|LINK
msdeploy IIS Web deployment tool ms deploy Web Deploy Visual Studio web Deploy publishing web deployment package msbuild msdeploy msbuild web deployment agent service webbdeploy TFS Deployment msdeploy msbuild Microsoft Web Deploy WebDeploy Visual Studio 2010 web Deploy 2.1
krolson
350 Posts
Microsoft
Re: Web Packaging won't work on remote build agent
Mar 16, 2012 05:27 PM|LINK
Hi Eric,
If you don't get any error or warnings, can you explain what about the process is not working? I'm afraid I don't know TFS extremely well, but if it's a Web Deploy-related issue I could probably suggest something.
-Kristina
Tyler4711
3 Posts
Re: Web Packaging won't work on remote build agent
Mar 19, 2012 07:48 AM|LINK
sayed.hashim...
16 Posts
Re: Web Packaging won't work on remote build agent
Mar 21, 2012 03:45 PM|LINK
Hi Tyler4711, do you have Visual Studio installed on your build agent? It is required to build web packages from Team Build. The reason why you are not seeing any errors is because we ship our build tasks/targets themselves as a part of the .NET framework so you are able to build web projects, but the publishing related tasks and targets are distributed with Visual Studio itself.
Thanks,
Sayed Ibrahim Hashimi
Tyler4711
3 Posts
Re: Web Packaging won't work on remote build agent
Mar 21, 2012 04:26 PM|LINK
sayed.hashim...
16 Posts
Re: Web Packaging won't work on remote build agent
Mar 22, 2012 04:45 AM|LINK