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 8224745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T15:10:35+00:00 2026-06-07T15:10:35+00:00

I am currently trying to get a TFS Build Definition to automatically deploy my

  • 0

I am currently trying to get a TFS Build Definition to automatically deploy my web application to the server. The build definition is just a standard manual build definition.

I have create the build definition correctly within the team explorer for my project, and when I queue a build, it completes successfully.

I have set the MSBuild Arguments property in the Build process parameters section to be:

/p:DeployOnBuild=True 
/p:Configuration="Release" 
/p:DeployTarget=MSDeployPublish 
/p:MSDeployPublishMethod=WMSVC 
/p:MsDeployServiceUrl=myserver.com 
/p:DeployIISAppPath="Default Web Site" 
/p:username=username 
/p:password=password 
/p:AllowUntrustedCertificate=True 
/p:SkipExtraFilesOnServer=True

However, when I view my web application in IIS, files that should be there are missing, such as the web.config file.

Right clicking my web application within Visual Studio and publishing via Web Deploy, using the above settings works correctly, and the web.config and other files that were published are shown in the web root.

This is just a development server, so the TFS and IIS are installed on the same machine, and changing the /p:MsDeployServiceUrl to be localhost instead also has no effect.

Is there something I am missing from the Build Definition, or a required parameter to get the TFS build to deploy my web application?

  • 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-06-07T15:10:36+00:00Added an answer on June 7, 2026 at 3:10 pm

    All of the properties you’ve declared look good, with the exception of the service URL. It needs to point to the full path of the Management Service on your target server.

    /p:MsDeployServiceUrl=https://yourserver:8172/msdeploy.axd
    

    The default port for the Management Service is 8172, but if your target has been set up differently, you’ll need to adjust.

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

Sidebar

Related Questions

I'm currently trying to get into Java Web Development in general in Spring more
I am currently trying to get my UI to have a Title Bar, a
I am currently trying to get my server to create a connection with a
I am currently trying to get the code coverage report for a PHP application
I'm currently trying to get Freemarker to work with my application using Spring. No
I'm currently trying to get my head wrap around Cassandra/thrift with Erlang... I have
I'm currently trying to get to grips with AJAX, and have a problem accessing
I am currently trying to get Xdebug to work on our development server. As
Maybe I have a bad design but I am currently trying to get an
Im currently trying to get used to assembler and I have written a for

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.