Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6771261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:24:40+00:00 2026-05-26T15:24:40+00:00

My Goal: use webdeploy to deploy builds from TeamCity to remote IIS server I

  • 0

My Goal: use webdeploy to deploy builds from TeamCity to remote IIS server

I am trying to figure out webdeploy but have had little luck. Currently to my understanding this is the work flow of webdeploy.

msbuild builds the project -> launches webdeploy tool -> sends data to
remote IIS server.

I haven’t seen any indication of this when building my project using paramaters. There is nothing in the build log to indicate that any deployment is going on.

C:\Windows\Microsoft.NET\Framework\v4.0.30319>msbuild \src\TestWebsiteApp\TestWe
bsiteApp.sln /p:Configuration=release /p:DeployOnBuild=True /p:DeployTarget=MSDe
ployPublish /p:MSDeployPublishMethod=RemoteAgent /p:MsDeployServiceUrl=localhost
 /p:username=myusername /p:password=mypassword

Could someone layout how webdeploy works and what are the requirements for it. What I’ve gathered is it needs msbuild v4.0 and IIS6 +

Any information / guidance would be much appreciated, thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T15:24:41+00:00Added an answer on May 26, 2026 at 3:24 pm

    I use Hudson but the principal for setting this up is the same. Once you figure out how to successfully deploy the package on to the server from your local machine the rest will be a piece of cake 😉

    This will make you a package:

    MSBuild “WcfService1.csproj” /T:Package

    Then look for Package folder in your solution folder (should be in obj\debug).
    Inside you should see something like this:

    PackageTmp
    WcfService1.deploy-readme.txt
    WcfService1.deploy.cmd
    WcfService1.SetParameters.xml
    WcfService1.SourceManifest.xml
    WcfService1.zip
    

    You need to have Web Deployment Tool installed on your server and Remote Agent Service running there as well (after you install WDT I think it’s turned off). If you already have that, open windows console and run

    WcfService1.deploy.cmd /M:your_server_name /Y

    You can use /T instead of /Y to do a test run – nothing will be published but you’ll see if you’re missing anything.

    Remember about your app pool identity, access to folders etc.

    Those are just basic steps, for more advanced stuff you’ll need to play a bit with SetParameters.xml file and/or with your project properties.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

my goal is to get lots of rows from a translation table. I use
The ultimate goal is to use JSFL to export a 2D skeleton from Flash.
My goal is use the .NET DateTime object (in C#) and have that be
I have written 2 custom template tags in Django. The goal is to use
The project has a goal: use interface centric design. Basically we declare classes of
Goal To use a CREATE TYPE statement in HSQLDB 2.0.0 to create a user-defined
My goal is to use a script that will install an executable file on
I've recently compiled Clang and LLVM on Windows. My goal is to use it
My ultimate goal is to load controls as plugins, for use as DocumentContent in
Okay, so my goal is to build a easy to use protocol for sending

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.