tfs - How to create web deployment package from team build? -


i've been reading , experimenting days. bought latest "inside microsoft build engine - using msbuild , team foundation build". i've been trying figure things out looking @ build targets.

i able package built on build server, want able specify installation folder, doesn't go wwwroot. read have switch project on using cassini local iis server. went through of that.

the args i'm passing msbuild through definition:

/p:deployonbuild=true /p:deploytarget=package /p:msdeploypublishmethod=inproc /p:createpackageonpublish=true /p:msdeployserviceurl=localhost

i've got many questions, i'll start simply. if can provide guidance i'd super thankful.

  1. if named application doesn't exist on build server (which shouldn't!) package creation fails. if add shell app named accordingly package built.

  2. even if hack way past #1 when try deploy using web.deploy.cmd, fails:

    error: using 64-bit source , 32-bit destination provider apphostconfig not supported.

    note build server 64-bit , target server (development) 32-bit. have build configuration building against "any cpu". oh, , i'm invoking deployment 32-bit machine, there's 32-bit msdeploy.exe available.

in appropriate builddefinition under "process", expand "advanced" section , set value of "msbuild arguments" "/p:deployonbuild=true".

that make webdeploy package built according settings in project properties.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -