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

  • Home
  • SEARCH
  • 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 792723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T22:02:13+00:00 2026-05-14T22:02:13+00:00

I’ve been trying to figure this out and so far haven’t found a simple

  • 0

I’ve been trying to figure this out and so far haven’t found a simple solution. Is it really that hard to deploy a database project (and a web site) using TFS 2010 as part of the build process?

I’ve found one example that involved lots of complicated checks and editing the workflow (which is a giant workflow btw).

I’ve even purchased the book “professional application lifecycle management with VS 2010”, but apparently professionals don’t deploy their applications since it isn’t even mentioned in the book.

I know I’m retarded when it comes to TFS, but it seems like there should be any easy way to do this. Is there?

  • 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-14T22:02:14+00:00Added an answer on May 14, 2026 at 10:02 pm

    I can’t speak for the database portion, but I just went through this on the web portion, the magic part is not very well documented component, namely the MSBuild Parameters.

    In your build definition:

    1. Process on the Left
    2. Required > Items to Build > Configurations to Build
      • Edit, add a new one, for this example
        • Configuration: Dev (I cover how to create a configuration below)
        • Platform: Any CPU
    3. Advanced > MSBuild Process
      • Use the following arguments (at least for me, your publish method may vary).

    MsBuild Params:

    /p:MSDeployServiceURL="http://myserver"  
    /p:MSDeployPublishMethod=RemoteAgent 
    /p:DeployOnBuild=True 
    /p:DeployTarget=MsDeployPublish 
    /p:CreatePackageOnPublish=True 
    /p:username=aduser
    /p:password=adpassword
    

    Requirements:

    1. You need to install the MS Deploy Remote Agent Service on the destination web server, MSDeploy needs to be on the Build/Deployer server as well, but this should be the case by default.
    2. The account you use in the params above needs admin access, at least to IIS…I’m not sure what the minimum permission requirements are.

    You configure which WebSite/Virtual Directory the site goes to in the Web project you’re deploying. Personally I have a build configuration for each environment, this makes the builds very easy to handle and organize. For example we have Release, Debug and Dev (there are more but for this example that’s it). Only the Web project has a Dev configuration.

    To do this, right click the solution, Configuration Manager…, On the web project click the configuration drop down, click New…. Give it a name, “Dev” for this example, copy settings from debug or release, whatever matches closest to what your deployment server environment should be. Make sure “Create new solution configurations” is checked, it is by default. After creating this, change the configuration dropdown on the solution to the new Dev one, and Any CPU…make sure your projects are all correct, I had some flipping to x86 and x64 randomly, not sure of the exact cause of that).

    In your web project, right click, properties. On the left, click Package/Publish Web (you’ll also want to mess with the other Package/Publish SQL tab, but I can’t speak to that). In the options on the right click Create deployment package as a zip file. The default location is fine, the next textbox I didn’t find documented anywhere. The format is this: WebSite/Virtual Directory, so if you have a site called “BuildSite” in IIS with no virtual directory (app == site root), you would have BuildSite only in this box. If it was in a virtual directory, you might have Default Web Site/BuildVirtualDirectory.

    After you set all that, make sure to check-in the solution and web project so the build server has the configuration changes you made, then kick off a build 🙂

    If you have more questions, I recommend you watch this video by Vishal Joshi, specifically around 22 and 59 minutes in, he covers the database portion as well…but I have no actual experience trying it since we’re on top of a non MSSQL database.

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

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am doing a simple coin flipping experiment for class that involves flipping a
I'm trying to create an if statement in PHP that prevents a single post
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text

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.