3

How to deploy a web site project, which does not have any project file.

we are trying to automate build and deployment using team city.

i am able to successfully build the project, but not able to deploy the web site.

5
  • How do you “able to successfully build the project” without project file? Do you use msbuild or a batch script? Commented Feb 19, 2013 at 11:18
  • i have used solution file. Commented Feb 19, 2013 at 11:23
  • Have you tried writing a command line or powershell script for the deploy process and adding it as a build step? Commented Feb 19, 2013 at 17:24
  • I am trying using Web deployment tool using command line. i will confirm once i successfully publish the same. thanks for your response. Commented Feb 20, 2013 at 7:37
  • By using below link i am able to deploy stackoverflow.com/questions/14819407/… Commented Feb 27, 2013 at 12:05

1 Answer 1

2

MsDeploy supports deployment of WebSites via contentPath provider:

msdeploy -verb:sync -source:contentPath=WebSite\Deploy,computername=localhost -dest:auto...

Just change WebSite\Deploy to your actual path in your agent working directory, where is your builded website for deployment.

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you. By using MSbuild and website.publishproj file i am able to sucessfully deploy

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.