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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T02:55:40+00:00 2026-06-04T02:55:40+00:00

I am deploying my web application from command line using this msbuild WebApplication1.csproj /t:Package

  • 0

I am deploying my web application from command line using this

msbuild WebApplication1.csproj /t:Package /p:configuration=release

It works fine, but the application deployed with the same name that is using in project settings page.

I want to set the name of deployed application using same command line.
Is there any parameter in msbuild to do so or any other approach.

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-04T02:55:42+00:00Added an answer on June 4, 2026 at 2:55 am

    You should try this

    msbuild WebApplication1.csproj /t:Package /p:configuration=release;DeployIISAppPath=”what_ever_name_you_want”

    You could get more about these keywords in your project file(.csproj), open it in notepad and search for the default name that is setted by VS. and use that parameter in your command line.

    Hope this helps.

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

Sidebar

Related Questions

I'm deploying a web application to my host using Web Deploy. When run from
Deploying a Web Application Project from VS2010 RTM causes an error in MSBuild. It
I'm using maven for deploying a web application in my Weblogic 10.3 server remotely.
I'm using ASP.NET MVC to develop a web application, deploying to IIS 7. I've
I'm using Wix 3.6 beta from the command line, not as VS projects. I
I'm using the Web Deployment Tool to build and release an MVC site from
I have a problem deploying an Axis 2 web application. I'm using Jboss 4.2.0,
I'm deploying a web application to a service which requires me to package some
I'm using VisualStudio 2010 to generate web deploy package for web application. I have
I'm having some serious trouble properly deploying Web Application Bundle (OSGi-fied WAR) on GlassFish

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.