By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,534 Members | 1,807 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,534 IT Pros & Developers. It's quick & easy.

How to set for debug/release

P: n/a
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 pointer would be appreciated. Thanks.

Joe

Apr 2 '06 #1
Share this Question
Share on Google+
10 Replies


P: n/a
Right-click your solution in the solution explorer and select the Configuration Manager. You should also see a dropdown list with word Debug on your standard toolbar.

Eliyahu

"Joe Befumo" <jo*@befumo.com> wrote in message news:44**********************@news.newsdemon.com.. .
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 pointer would be appreciated. Thanks.

Joe

Apr 2 '06 #2

P: n/a
Eliyahu,

In VS 2003, that choice is available. In VS 2005, it's not.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:O9*************@TK2MSFTNGP10.phx.gbl...
Right-click your solution in the solution explorer and select the Configuration Manager. You should
also see a dropdown list with word Debug on your standard toolbar.

Eliyahu

"Joe Befumo" <jo*@befumo.com> wrote in message news:44**********************@news.newsdemon.com.. .
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
pointer would be appreciated. Thanks.

Joe
Apr 2 '06 #3

P: n/a
I should have added that, in ASP.NET 2.0, the debug/erelease
choice is set via the web.config file for the application :

<compilation debug = "false">
or
<compilation debug = "true">

The default is "false".


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ut**************@TK2MSFTNGP11.phx.gbl...
Eliyahu,

In VS 2003, that choice is available. In VS 2005, it's not.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:O9*************@TK2MSFTNGP10.phx.gbl...
Right-click your solution in the solution explorer and select the Configuration Manager. You
should also see a dropdown list with word Debug on your standard toolbar.

Eliyahu

"Joe Befumo" <jo*@befumo.com> wrote in message
news:44**********************@news.newsdemon.com.. .
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 pointer would be appreciated. Thanks.

Joe

Apr 2 '06 #4

P: n/a
Juan,

In my VS2005 it is there. I have a Team Edition for Software Developers.

Eliyahu

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ut**************@TK2MSFTNGP11.phx.gbl...
Eliyahu,

In VS 2003, that choice is available. In VS 2005, it's not.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:O9*************@TK2MSFTNGP10.phx.gbl...
Right-click your solution in the solution explorer and select the
Configuration Manager. You should also see a dropdown list with word Debug
on your standard toolbar.

Eliyahu

"Joe Befumo" <jo*@befumo.com> wrote in message
news:44**********************@news.newsdemon.com.. .
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 pointer would be
appreciated. Thanks.

Joe

Apr 3 '06 #5

P: n/a
Juan,

The setting in web.config affects compiling .aspx files deployed on the
server. It doesn't affect assembly dlls produced in a development
environment and deployed to the server as binaries.

Eliyahu

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ua**************@TK2MSFTNGP11.phx.gbl...
I should have added that, in ASP.NET 2.0, the debug/erelease
choice is set via the web.config file for the application :

<compilation debug = "false">
or
<compilation debug = "true">

The default is "false".


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ut**************@TK2MSFTNGP11.phx.gbl...
Eliyahu,

In VS 2003, that choice is available. In VS 2005, it's not.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:O9*************@TK2MSFTNGP10.phx.gbl...
Right-click your solution in the solution explorer and select the
Configuration Manager. You should also see a dropdown list with word
Debug on your standard toolbar.

Eliyahu

"Joe Befumo" <jo*@befumo.com> wrote in message
news:44**********************@news.newsdemon.com.. .
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 pointer would be
appreciated. Thanks.

Joe


Apr 3 '06 #6

P: n/a
I'm afraid not, Eliyahu.
Where did you read that it only applies to *.aspx files ?

See : http://msdn2.microsoft.com/en-us/library/2fdbs127.aspx

That page explains that the *Build* configuration option which controls
whether the compilation will generate debugging information is moved
to web.config for VB.NET, C# and J#.

I don't see any exceptions there.

Additionally, that page makes clear that "If a project contains multiple configurations
(Debug compilation, Release compilation, and so on), conversion follows this logic:

If the project contains only Debug and Release configurations,
then the Debug configuration is converted to Visual Studio 2005."

That means that, since the default compilation mode is set to <compilation debug="false">
in the *Master web.config* in the CONFIG directory of the .Net Framework directory,
all you need to do to generate assemblies with debugging information is change the
web.config setting to <compilation debug="true">.

If you change that setting for one application (in its web.config), then only that application
will generate assemblies with debugging information.

If you change it at the master web.config level, all applications will generate debugging
information
( not advisable, as it will impact performace adversely ).

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:eF*************@TK2MSFTNGP15.phx.gbl...
Juan,

The setting in web.config affects compiling .aspx files deployed on the server. It doesn't affect
assembly dlls produced in a development environment and deployed to the server as binaries.

Eliyahu "Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ua**************@TK2MSFTNGP11.phx.gbl...
I should have added that, in ASP.NET 2.0, the debug/erelease
choice is set via the web.config file for the application :

<compilation debug = "false">
or
<compilation debug = "true">

The default is "false".


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ut**************@TK2MSFTNGP11.phx.gbl...
Eliyahu,

In VS 2003, that choice is available. In VS 2005, it's not.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:O9*************@TK2MSFTNGP10.phx.gbl...
Right-click your solution in the solution explorer and select the Configuration Manager. You
should also see a dropdown list with word Debug on your standard toolbar.

Eliyahu

"Joe Befumo" <jo*@befumo.com> wrote in message
news:44**********************@news.newsdemon.com.. .
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 pointer would be appreciated. Thanks.

Joe




Apr 3 '06 #7

P: n/a
Juan,

A further research proved that you're right. What I wrote was correct for
1.1.

K.Scott Allen explains it nicely in
http://odetocode.com/Blogs/scott/arc...005/11/15.aspx

Always happy to learn,

Eliyahu

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
I'm afraid not, Eliyahu.
Where did you read that it only applies to *.aspx files ?

See : http://msdn2.microsoft.com/en-us/library/2fdbs127.aspx

That page explains that the *Build* configuration option which controls
whether the compilation will generate debugging information is moved
to web.config for VB.NET, C# and J#.

I don't see any exceptions there.

Additionally, that page makes clear that "If a project contains multiple
configurations
(Debug compilation, Release compilation, and so on), conversion follows
this logic:

If the project contains only Debug and Release configurations,
then the Debug configuration is converted to Visual Studio 2005."

That means that, since the default compilation mode is set to <compilation
debug="false">
in the *Master web.config* in the CONFIG directory of the .Net Framework
directory,
all you need to do to generate assemblies with debugging information is
change the
web.config setting to <compilation debug="true">.

If you change that setting for one application (in its web.config), then
only that application
will generate assemblies with debugging information.

If you change it at the master web.config level, all applications will
generate debugging information
( not advisable, as it will impact performace adversely ).

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:eF*************@TK2MSFTNGP15.phx.gbl...
Juan,

The setting in web.config affects compiling .aspx files deployed on the
server. It doesn't affect
assembly dlls produced in a development environment and deployed to the
server as binaries.

Eliyahu

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ua**************@TK2MSFTNGP11.phx.gbl...
I should have added that, in ASP.NET 2.0, the debug/erelease
choice is set via the web.config file for the application :

<compilation debug = "false">
or
<compilation debug = "true">

The default is "false".


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ut**************@TK2MSFTNGP11.phx.gbl...
Eliyahu,

In VS 2003, that choice is available. In VS 2005, it's not.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:O9*************@TK2MSFTNGP10.phx.gbl...
Right-click your solution in the solution explorer and select the
Configuration Manager. You
should also see a dropdown list with word Debug on your standard
toolbar.

Eliyahu

"Joe Befumo" <jo*@befumo.com> wrote in message
news:44**********************@news.newsdemon.com.. .
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 pointer would be appreciated. Thanks.

Joe



Apr 3 '06 #8

P: n/a
That's a relief !

;-)

Thanks for the link. I didn't know Scott had written about it.
He wrote a masterful explanation, as usual.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:OZ**************@TK2MSFTNGP12.phx.gbl...
Juan,

A further research proved that you're right. What I wrote was correct for 1.1.

K.Scott Allen explains it nicely in http://odetocode.com/Blogs/scott/arc...005/11/15.aspx

Always happy to learn,

Eliyahu

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
I'm afraid not, Eliyahu.
Where did you read that it only applies to *.aspx files ?

See : http://msdn2.microsoft.com/en-us/library/2fdbs127.aspx

That page explains that the *Build* configuration option which controls
whether the compilation will generate debugging information is moved
to web.config for VB.NET, C# and J#.

I don't see any exceptions there.

Additionally, that page makes clear that "If a project contains multiple configurations
(Debug compilation, Release compilation, and so on), conversion follows this logic:

If the project contains only Debug and Release configurations,
then the Debug configuration is converted to Visual Studio 2005."

That means that, since the default compilation mode is set to <compilation debug="false">
in the *Master web.config* in the CONFIG directory of the .Net Framework directory,
all you need to do to generate assemblies with debugging information is change the
web.config setting to <compilation debug="true">.

If you change that setting for one application (in its web.config), then only that application
will generate assemblies with debugging information.

If you change it at the master web.config level, all applications will generate debugging
information
( not advisable, as it will impact performace adversely ).

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:eF*************@TK2MSFTNGP15.phx.gbl...
Juan,

The setting in web.config affects compiling .aspx files deployed on the server. It doesn't
affect
assembly dlls produced in a development environment and deployed to the server as binaries.

Eliyahu

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ua**************@TK2MSFTNGP11.phx.gbl...
I should have added that, in ASP.NET 2.0, the debug/erelease
choice is set via the web.config file for the application :

<compilation debug = "false">
or
<compilation debug = "true">

The default is "false".


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ut**************@TK2MSFTNGP11.phx.gbl...
> Eliyahu,
>
> In VS 2003, that choice is available. In VS 2005, it's not.
>
>
>
> Juan T. Llibre, asp.net MVP
> aspnetfaq.com : http://www.aspnetfaq.com/
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaņol : http://asp.net.do/foros/
> ===================================
> "Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
> news:O9*************@TK2MSFTNGP10.phx.gbl...
> Right-click your solution in the solution explorer and select the Configuration Manager. You
> should also see a dropdown list with word Debug on your standard toolbar.
>
> Eliyahu
>
> "Joe Befumo" <jo*@befumo.com> wrote in message
> news:44**********************@news.newsdemon.com.. .
> 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 pointer would be appreciated. Thanks.
>
> Joe
>
>



Apr 3 '06 #9

P: n/a
I have a "Configuration Manager" menu item available in the
Standard Toolbar's "Build" menu, but it doesn't have "Release" in the dropdown.

It only has the "Debug" configuration available.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:em**************@TK2MSFTNGP09.phx.gbl...
Solution Configuration is a part of the Standard toolbar. It could be hidden by default.

Eliyahu

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:eW**************@tk2msftngp13.phx.gbl...
re:
In my VS2005 it is there. I have a Team Edition for Software Developers.


Now you've really made me wonder.

That's the exact version I'm running, too, (see attached image) but I don't have
that choice available for web applications. It is there for desktop apps, though.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:u%****************@TK2MSFTNGP15.phx.gbl...
Juan,

In my VS2005 it is there. I have a Team Edition for Software Developers.

Eliyahu

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ut**************@TK2MSFTNGP11.phx.gbl...
Eliyahu,

In VS 2003, that choice is available. In VS 2005, it's not.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:O9*************@TK2MSFTNGP10.phx.gbl...
Right-click your solution in the solution explorer and select the
Configuration Manager. You should also see a dropdown list with word Debug
on your standard toolbar.

Eliyahu

"Joe Befumo" <jo*@befumo.com> wrote in message
news:44**********************@news.newsdemon.com.. .
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 pointer would be
appreciated. Thanks.

Joe



Apr 3 '06 #10

P: n/a
For Windows Forms I get all the options, but not for Web Solutions.

For Web Solutions I only get "Debug".

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:OL**************@TK2MSFTNGP10.phx.gbl...
I do have other options. May be I got them on the migration stage. Anyway, the real meaning of
these options is not so obvious now.

Eliyahu

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:Oe**************@TK2MSFTNGP10.phx.gbl...
I have a "Configuration Manager" menu item available in the
Standard Toolbar's "Build" menu, but it doesn't have "Release" in the dropdown.

It only has the "Debug" configuration available.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:em**************@TK2MSFTNGP09.phx.gbl...
Solution Configuration is a part of the Standard toolbar. It could be hidden by default.

Eliyahu

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:eW**************@tk2msftngp13.phx.gbl...
re:
> In my VS2005 it is there. I have a Team Edition for Software Developers.

Now you've really made me wonder.

That's the exact version I'm running, too, (see attached image) but I don't have
that choice available for web applications. It is there for desktop apps, though.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:u%****************@TK2MSFTNGP15.phx.gbl...
> Juan,
>
> In my VS2005 it is there. I have a Team Edition for Software Developers.
>
> Eliyahu
>
> "Juan T. Llibre" <no***********@nowhere.com> wrote in message
> news:ut**************@TK2MSFTNGP11.phx.gbl...
>> Eliyahu,
>>
>> In VS 2003, that choice is available. In VS 2005, it's not.
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> aspnetfaq.com : http://www.aspnetfaq.com/
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en espaņol : http://asp.net.do/foros/
>> ===================================
>> "Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
>> news:O9*************@TK2MSFTNGP10.phx.gbl...
>> Right-click your solution in the solution explorer and select the
>> Configuration Manager. You should also see a dropdown list with word Debug
>> on your standard toolbar.
>>
>> Eliyahu
>>
>> "Joe Befumo" <jo*@befumo.com> wrote in message
>> news:44**********************@news.newsdemon.com.. .
>> 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 pointer would be
>> appreciated. Thanks.
>>
>> Joe
>>
>>
>
>




Apr 3 '06 #11

This discussion thread is closed

Replies have been disabled for this discussion.