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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:30:34+00:00 2026-05-13T18:30:34+00:00

I use the Publish command in Visual Studio to deploy a web application to

  • 0

I use the Publish command in Visual Studio to deploy a web application to my IIS server.
It is very convenient but I have several issues with it, such as:

  • It does not deploy the Crystal Report files (*.rpt) files
  • It deploys the web.config file and overwrites the server specific settings

Is there any way that I can customize what the Publish command does?

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-05-13T18:30:35+00:00Added an answer on May 13, 2026 at 6:30 pm

    When publishing your Web Application, Visual Studio will respect the "build action" set for each file in your project. Make sure you pick the right actions for the files. Here are your options:

    None – The file is not included in the project output group and is not compiled in the build process. An example is a text file that contains documentation, such as a Readme file.

    Compile – The file is compiled into the build output. This setting is used for code files.

    Content – The file is not compiled, but is included in the Content output group. For example, this setting is the default value for an .htm or other kind of Web file.

    Embedded Resource – This file is embedded in the main project build output as a DLL or executable. It is typically used for resource files.

    In this particular case, the .rpt files should probably be set to Content and the web.config should be set to None. The build action for a file can be changed in the property window when the file is selected in the solution explorer.

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

Sidebar

Related Questions

In Visual Studio 2010 we can right click a Web application and select Publish
I used to use discountasp.net and I can use Visual Studio 2008 to publish
Is it really viable to use GCJ to publish server-side applications? Webapps? My boss
Does anyone know how to use CruiseControl.Net to publish to an FTP server?
Hi I have just finished debugging my first application and want to publish it.
I can use the Facebook iPhone API to authorize and publish posts, but I
I'm trying to use the Web One Click Publish feature in VS10 to push
I want to use the Publish.GacRemove function to remove an assembly from GAC. However,
if i decide to use the 'publish' option for my ASP.NET website, instead of
Use case: 3rd party application wants to programatically monitor a text file being generated

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.