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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T10:20:35+00:00 2026-06-05T10:20:35+00:00

What are the differences between msbuild /t:publish and msbuild/t:package when preparing a web app

  • 0

What are the differences between msbuild /t:publish and msbuild/t:package when preparing a web app for deployment?

I know both of them prepare the application for deployment by gathering all necessary files and dumping them in a directory and package does this plus zips the files up. Are these the only differences? Are there any differences in how the files are prepared for deployment?

Do these function the same as “Publish” and “Build deployment package” in Visual studio 2010?

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-06-05T10:20:37+00:00Added an answer on June 5, 2026 at 10:20 am

    The package switch will create a deployable package that you can manually copy to your server and run, whereas publish will attempt to upload the package to your web server and execute it automatically.

    With package, you will find a number of files in

    [ProjectDir]\obj[BuildType]\Package

    You need to copy across the .cmd, .SetParameters.xml, and the .zip files if you want to manually run it on the target server. You’ll need to run the .cmd as Administrator.

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

Sidebar

Related Questions

I was wondering what differences between web service and ssh are? Are they both
I am trying to have my web application automatically Publish when a Release build
What are the differences between windows service and windows driver ? Don't they both
I know the differences between data , newtype and type very well. I am
What are the differences between Dispatcher.CurrentDispatcher (in System.Windows.Threading ) and Application.Current.Dispatcher (in System.Windows )?
What are the differences between a web service and a Windows service? My experience
What are the major differences between IE7 and IE8 that a web tester should
What are differences between enabling and disabling Enable 32-Bit applications in websites application pools
What are the differences between debug and release builds for a Cocoa application? I
What are the differences between delegates and an events? Don't both hold references to

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.