PC Review


Reply
Thread Tools Rate Thread

Release configuration is missing in VS2005

 
 
Inga2005
Guest
Posts: n/a
 
      8th Dec 2005
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.

 
Reply With Quote
 
 
 
 
Teemu Keiski
Guest
Posts: n/a
 
      8th Dec 2005
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...p/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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>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.
>



 
Reply With Quote
 
 
 
 
Inga2005
Guest
Posts: n/a
 
      8th Dec 2005
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...p/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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >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.
> >


 
Reply With Quote
 
Mark Rae
Guest
Posts: n/a
 
      8th Dec 2005
"Teemu Keiski" <(E-Mail Removed)> wrote in message
news:eSz9SU$%(E-Mail Removed)...

> 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...?


 
Reply With Quote
 
Teemu Keiski
Guest
Posts: n/a
 
      8th Dec 2005
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" <(E-Mail Removed)> wrote in message
news:uXx19y$%(E-Mail Removed)...
> "Teemu Keiski" <(E-Mail Removed)> wrote in message
> news:eSz9SU$%(E-Mail Removed)...
>
>> 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...?
>



 
Reply With Quote
 
Mark Rae
Guest
Posts: n/a
 
      8th Dec 2005
"Teemu Keiski" <(E-Mail Removed)> wrote in message
news:es8LTyA$(E-Mail Removed)...

> 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...


 
Reply With Quote
 
Teemu Keiski
Guest
Posts: n/a
 
      8th Dec 2005
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" <(E-Mail Removed)> wrote in message
news:ePT4J1A$(E-Mail Removed)...
> "Teemu Keiski" <(E-Mail Removed)> wrote in message
> news:es8LTyA$(E-Mail Removed)...
>
>> 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...
>



 
Reply With Quote
 
Mark Rae
Guest
Posts: n/a
 
      8th Dec 2005
"Teemu Keiski" <(E-Mail Removed)> wrote in message
news:%23XTlJWB$(E-Mail Removed)...

> 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...


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot deploy or debug with VS2005 or VS2005 BlackMDK Microsoft Dot NET Compact Framework 8 14th Feb 2008 11:21 AM
Website->Asp.Net Configuration is missing! in VS2005 Standard Edition JP.Gantlin Microsoft ASP .NET 1 15th Oct 2006 08:01 PM
What's the difference between VS2005 Beta3 and VS2005 realse version mike Microsoft C# .NET 5 1st Dec 2005 10:19 AM
VS2005 Release date announced wackyphill@yahoo.com Microsoft C# .NET 0 16th Jun 2005 07:50 PM
Release of vs2005 Just Me Microsoft Dot NET 2 23rd Nov 2004 10:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:35 PM.