473,323 Members | 1,551 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

Release configuration is missing in VS2005

I have developed an web site in VS2005 but I can't build a release
version since the option is missing in the configuration manager. The
second thing is that there isn't a bin folder placed in my project.
Anybody knows how to solve this.

Dec 8 '05 #1
7 2825
Hi,

there is no release Configuration because VS2005 does not handle the
compilation with ASP.NET. All compilation is delegated to ASP.NET runtime
and therefore what impacts on the final configuration is what you have in
<compilation> element (web.config). For the same reason there's no Bin
folder (ASP.NET 2.0 does support it, but does not compile there by
default). You get the files for deployment by using precompilation for
deployment and/or new web deployment project
(http://msdn.microsoft.com/asp.net/re.../default.aspx).

Here's a article which explains these to you:

Debug And Release Builds in ASP.NET 2.0
http://odetocode.com/Blogs/scott/arc...1/15/2464.aspx

Note. MS has just announced that they bring A web project model to VS2005
which makes it possible to work in "VS2003 way" e.g compile all code to bin
and so on.

New Web Project Model Option Coming for VS 2005
http://weblogs.asp.net/scottgu/archi...07/432630.aspx

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke
"Inga2005" <er**@liffner.se> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
I have developed an web site in VS2005 but I can't build a release
version since the option is missing in the configuration manager. The
second thing is that there isn't a bin folder placed in my project.
Anybody knows how to solve this.

Dec 8 '05 #2
Thanks Teemu,
I will read the article and try "the new way"
/erik

Teemu Keiski skrev:
Hi,

there is no release Configuration because VS2005 does not handle the
compilation with ASP.NET. All compilation is delegated to ASP.NET runtime
and therefore what impacts on the final configuration is what you have in
<compilation> element (web.config). For the same reason there's no Bin
folder (ASP.NET 2.0 does support it, but does not compile there by
default). You get the files for deployment by using precompilation for
deployment and/or new web deployment project
(http://msdn.microsoft.com/asp.net/re.../default.aspx).

Here's a article which explains these to you:

Debug And Release Builds in ASP.NET 2.0
http://odetocode.com/Blogs/scott/arc...1/15/2464.aspx

Note. MS has just announced that they bring A web project model to VS2005
which makes it possible to work in "VS2003 way" e.g compile all code to bin
and so on.

New Web Project Model Option Coming for VS 2005
http://weblogs.asp.net/scottgu/archi...07/432630.aspx

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke
"Inga2005" <er**@liffner.se> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
I have developed an web site in VS2005 but I can't build a release
version since the option is missing in the configuration manager. The
second thing is that there isn't a bin folder placed in my project.
Anybody knows how to solve this.


Dec 8 '05 #3
"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:eS****************@tk2msftngp13.phx.gbl...
Note. MS has just announced that they bring A web project model to VS2005
which makes it possible to work in "VS2003 way" e.g compile all code to
bin and so on.


Will it also have the facility to exclude files / folders from the project
but still reference them on disk like VS2003 had...?
Dec 8 '05 #4
Hmm...isnt that what they fixed for the VS2005 RTM, where you can exclude
files from a project (which was broken in beta 2? If you want to exclude a
folder from build, you might want to look for web deployment projects. See
the links above, and don't hesitate to ask on that ScottGu's blog post. It
was announced just so all I know is on that post.

Or if I misunderstood your question, please clarify.

Thanks,

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

"Mark Rae" <ma**@markN-O-S-P-A-M.co.uk> wrote in message
news:uX***************@TK2MSFTNGP11.phx.gbl...
"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:eS****************@tk2msftngp13.phx.gbl...
Note. MS has just announced that they bring A web project model to VS2005
which makes it possible to work in "VS2003 way" e.g compile all code to
bin and so on.


Will it also have the facility to exclude files / folders from the project
but still reference them on disk like VS2003 had...?

Dec 8 '05 #5
"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:es**************@TK2MSFTNGP09.phx.gbl...
Hmm...isnt that what they fixed for the VS2005 RTM, where you can exclude
files from a project (which was broken in beta 2?


In the release version if you exclude a file such as Web.config, it gets
renamed to Web.config.exclude, so the whole thing stops working.

In VSNET2003, you excluded a file so that it wouldn't get deployed with the
solution every time - e.g. images, PDFs etc - but they were not renamed so
that the project would still continue to work because the files themselves
were still physically on the hard disk...
Dec 8 '05 #6
Ah I see,

Based on this explanation

"
2) All files contained within the project are defined within a project file
(as well as the assembly references and other project meta-data settings).
Files under the web's file-system root that are not defined in the project
file will not be logically considered part of the web project. You will
also now be able to define classes and types anywhere in the project
structure (there is no longer a need to define them under app_code).

"
since the project file is back with the ASP.NET Web project, I'd understand
that it would be so.

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

I'd understand that yes
"Mark Rae" <ma**@markN-O-S-P-A-M.co.uk> wrote in message
news:eP**************@TK2MSFTNGP10.phx.gbl...
"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:es**************@TK2MSFTNGP09.phx.gbl...
Hmm...isnt that what they fixed for the VS2005 RTM, where you can exclude
files from a project (which was broken in beta 2?


In the release version if you exclude a file such as Web.config, it gets
renamed to Web.config.exclude, so the whole thing stops working.

In VSNET2003, you excluded a file so that it wouldn't get deployed with
the solution every time - e.g. images, PDFs etc - but they were not
renamed so that the project would still continue to work because the files
themselves were still physically on the hard disk...

Dec 8 '05 #7
"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
since the project file is back with the ASP.NET Web project, I'd
understand that it would be so.


I sincerely hope so.

A lot of my work involves maintaining web sites for bands, so lots of JPEGs,
MP3s etc... It's really irritating to be obliged to deploy over 100Mb of web
files every time I make even the smallest change to the site e.g. when I add
another news item or concert review etc...
Dec 8 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Robert | last post by:
I have an application with custom configuration sections in it's app.config file. Here's a shortened excerpt: <monitors> <monitor...
5
by: va | last post by:
When I create a web site (or personal web site starter kit) I don't see a "release" version in the configuation manager like a default Winforms application has. Does it not apply for Asp.net?
10
by: Joe Befumo | last post by:
When I tried debugging for the first time, I pop-up asked me if I wanted to set the project to enable debugging. Now I'm ready to release and can't find anyplace to set the build to 'release'. A...
1
by: adhingra | last post by:
I stumbled upon something which does not make sense "Debug class methods are not automatically suppressed by the managed c++ compiler when the project is build in release mode" Create a a...
1
by: Epetruk | last post by:
Hello, In VS2003, I used to have two solutions - a debug and release solution. Each solution had a webservice project and several other class library projects. The webservice project...
1
by: kurt sune | last post by:
I am having trouble publishing a website for RELEASE. 1. web.config: <compilation defaultLanguage="vb" debug="false"> 2. in Configuration manager I set the configuration to Release for the...
3
by: =?Utf-8?B?ZWxhZGxh?= | last post by:
Hi. I was wondering if it was possible to give a variable different values depending on if the code was compiled in debug or release? i.e. if the code was compiled in debug: string...
0
by: celoftis | last post by:
Using VS2005, VB.NET, I have an application that makes several webservice calls. These services are on a network that requires authentication of login credentails. As the application starts the...
1
by: JB | last post by:
Hi All, I'm experiencing a strange behaviour in VB.NET 2005. My solution contains 4 Projects. When I want to compile a release version, I go to the Configuration Manager and change the Active...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.