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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:15:41+00:00 2026-06-16T05:15:41+00:00

I am attempting to use Visual Studio’s Team Explorer and TFS to create a

  • 0

I am attempting to use Visual Studio’s Team Explorer and TFS to create a Build Definition to deploy a MVC site to IIS.

I followed the Pluralsight tutorial called ‘Continuous Deployment with Team Foundation Server 2010’.

The steps I followed from the tutorial included:

  • Installed IIS Management Scripts and Tools
  • Installed Management Service
  • On the Management Service I allowed remote connections and enable Windows Credentials Only
  • Installed Web Deploy
  • Created a deployment domain account
  • Allowed domain account permissions to modify IIS file system
  • Set delegation rules using this domain account
  • Set IIS Permissions using domain account

The MSBuild arguements I set in the build definition were:

/p:DeployOnBuild=true 
/p:DeployTarget=MSDeployPublish 
/p:CreatePackageOnPublish=False 
/p:MSDeployPublishMethod=WMSVC 
/p:SkipExtraFilesOnServer=True 
/p:AllowUntrustedCertificate=True 
/p:MSDeployServiceUrl="https://<iis server name>:8172/msdeploy.axd"
/p:Username="<domain>\<user>" 
/p:Password="<password>" 
/p:DeployIISAppPath="Default Web Site/<site name>"

I queued a build and it passes, is written to the drop folder but NOT to IIS.

I published the MVC application from the Solution Explorer using the same property values and it was successfully deployed to IIS.

Does anyone know what I am missing?

  • 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-16T05:15:42+00:00Added an answer on June 16, 2026 at 5:15 am

    I solved the problem by examining the contents on my local machine and the comparing it with the build server.

    I found that the ‘Web’ and ‘WebApplication’ folders on my local machine at ‘C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0’ were not present in the same location on the build server.

    Once I copied and pasted them across my build worked and the mvc site was deployed to IIS as expected.

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

Sidebar

Related Questions

In Visual Studio 2010, attempting to use the Server Explorer to add a data
Running on Windows 7 using Visual Studio 2005, I am attempting to use the
I am currently attempting to use Visual Studio 2010 'Publish' and MSDeploy functionality to
I am attempting to use the MapPageRoute feature in Visual Studio 2010 and .NET
Attempting to build a Visual Studio 2010 solution with 132 projects which do not
While attempting to use the Visual Studio 2010 debugger on an Xbox 360 ADK
I am attempting to use OpenMP to create a parallel for loop in Visual
I'm attempting to use Web Deploy to Publish a Web Application. I want Visual
Using Visual Studio 2010 and I'm encountering an error when attempting to use the
In Visual Studio 2010, I'm building a Silverlight C# application. I'm attempting to use

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.