locked
.CSProj for Deployment in a WDP? RRS feed

  • Question

  • User173068018 posted

    Hi

    While using Web Application Project (WAP) with VS2005 SP1, when I add a Web Deployment Project for WAP, it copies the following files as part of the
    deployment (In the Release folder, for a Release build).

       1. .aspx files. (ASP.NET Pages)
       2. .ascx files. (ASP.NET User controls)
       3. .csproj files. (Web application project files)
       4. PrecompiledApp.config

    I understand the need for PrecompiledApp.config to part of the deployment.  Am baffled as I couldnt find enough information on this anywhere.

    Is it necessary to have other files also? Can we delete the other files during deployment? (like the .csproj file for instance)

    Thanks in advance
    Kris

    Friday, August 22, 2008 3:37 AM

Answers

  • User372121194 posted

    Hi,

    The .csproj file or .vbproj file is used to save the project information. Visual Studio uses this file to compile ASP.NET application. When we use Web Deployment project to precompile application, WDP might copy these file, such as .csproj or obj folder, etc, to target directory.

    When you deploy your application on server, you can delete them.

     

    I look forward to hearing from you.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, August 26, 2008 6:27 AM

All replies

  • User372121194 posted

    Hi,

    The .csproj file or .vbproj file is used to save the project information. Visual Studio uses this file to compile ASP.NET application. When we use Web Deployment project to precompile application, WDP might copy these file, such as .csproj or obj folder, etc, to target directory.

    When you deploy your application on server, you can delete them.

     

    I look forward to hearing from you.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, August 26, 2008 6:27 AM
  • User173068018 posted

    Thank you All Star. 

    Friday, May 22, 2009 3:20 AM