How to compile VS2003-created webapp in VS2008 Release mode? (only Debug is available)

Last post 10-31-2009 11:55 AM by guenavan. 3 replies.

Sort Posts:

  • How to compile VS2003-created webapp in VS2008 Release mode? (only Debug is available)

    09-02-2009, 9:46 AM
    • Contributor
      2,637 point Contributor
    • guenavan
    • Member since 01-09-2004, 9:25 AM
    • Novossibirsk(S. Iberia)
    • Posts 1,257

    In VS2008SP1 (Team System, XP SP3 Pro rus)  I open ASP.NET webapplication project created in VS2003 ( .csproj contains string
    ProductVersion = "7.0.9466").
    For ex, [1a]

    VS2008SP1 forces the conversion of project.
    Everythings seems to work.
    But in Properties (or Property Pages, Configuration Manager or Configuration)
    I find only Debug mode. 

    Though creating New ASP.NET webapp project or Website I have available
    - Active (Debug)
    - Debug
    - Release
     
    The problem is the same if I open old (apparently created in VS2003, [1a]) ASP.NET webapp as WSP (web site project), both from FileSystem (VSinternal webserver) or from LocalIIS or as WAP, i.e. from .csproj [1a].

    So, the question is how to compile VS2003 webapplication in VS2008SP1 in Release mode?

    What is determining in the code of website the outdated version of МЫ if I open webapplication as WSP,
    i.e. without the use of VS project or solution files?


    Also I'd like also to understand the differences between Active (Debug) and Debug


    [1]
    Thiru Thangarathinam. 15 Seconds  Deploying ASP.NET Applications - Part 1
    http://www.15seconds.com/issue/030806.htm
    [1a]
    Download source code to [1]
    http://www.15seconds.com/files/030806.zip

    -------------------
    Guennadi Vanine - Gennady Vanin - Геннадий Ванин (Novosibirsk)
    Looking for an opportunity job

  • Re: How to compile VS2003-created webapp in VS2008 Release mode? (only Debug is available)

    09-08-2009, 1:39 AM
    Answer
    • Participant
      844 point Participant
    • Nowall
    • Member since 12-19-2007, 9:53 AM
    • Posts 108

    ASP.NET website's build bases on the debug attribute in web.config file.

    You can use web deployment project to precompile ASP.NET application.

    See http://stackoverflow.com/questions/1088760/is-there-a-visual-studio-2005-asp-net-debug-and-release-build

    Please make the reply as answer if it helps!
  • Re: How to compile VS2003-created webapp in VS2008 Release mode? (only Debug is available)

    10-31-2009, 11:17 AM
    • Contributor
      2,637 point Contributor
    • guenavan
    • Member since 01-09-2004, 9:25 AM
    • Novossibirsk(S. Iberia)
    • Posts 1,257

    Up.
    Who is marking my unanswered questions as resolved, I wonder?

    -------------------
    Guennadi Vanine - Gennady Vanin - Геннадий Ванин (Novosibirsk)
    Looking for an opportunity job

  • Re: How to compile VS2003-created webapp in VS2008 Release mode? (only Debug is available)

    10-31-2009, 11:55 AM
    • Contributor
      2,637 point Contributor
    • guenavan
    • Member since 01-09-2004, 9:25 AM
    • Novossibirsk(S. Iberia)
    • Posts 1,257

    I do not see any replies to initial post, only first post, in IE6.
    In Opera I see replies but cannot type any reply

    -------------------
    Guennadi Vanine - Gennady Vanin - Геннадий Ванин (Novosibirsk)
    Looking for an opportunity job

Page 1 of 1 (4 items)