Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting up deploy of orchard project using TeamCity

We use teamcity to deploy several of our projects. I'm attempting to setup the deploy of an orchard project, and I'm currently running into some issues.

I have the teamcity project building and notifying of successful and failed builds. When I add a deploy step and run it, I get the following error:

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(3460, 5): error MSB4044: The "ConcatFullServiceUrlWithSiteName" task was not given a value for the required parameter "SiteAppName".

I can't tell if it's just me not configuring the build step properly, or if it has trouble with orchard. Has anyone has success deploying orchard projects from TeamCity, and can you help shed some light on this issue?

like image 310
tjans Avatar asked May 19 '11 15:05

tjans


People also ask

Can you deploy with TeamCity?

TeamCity provides the Deployment type of build configuration. Build configurations which perform deploying to some environment can be marked with this type: these are usually build configurations that have snapshot or artifact dependencies on the builds whose results they deploy.


2 Answers

I had the same problem and fixed it by going to the 'Publish/Package Web' tab in the Visual Studio project settings and specifying the IIS Website name under 'IIS Web site/application name to use on destination server'.

You can also specify DeployIisAppPath as an MS build arguement in TeamCity.

like image 166
Richard Garside Avatar answered Nov 06 '22 12:11

Richard Garside


Setting the following parameter in the project file settings worked for me.

Default Web Site/MySampleWebSite

like image 28
santosh kumar patro Avatar answered Nov 06 '22 14:11

santosh kumar patro