472,958 Members | 2,701 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

How to create a "release" build of my site

I'm using Visual Studio 2005 RC and cannot figure out how to produce a
"release" build. Am I doing something wrong?

I'm wondering if perhaps MS locked out the ability to produce a release
build when using the RC since it does not have a go-live license? Or maybe
I'm just doing something wrong.

I do not want to go live with a release build. Rather I just want to test
locally to see if there is a performance difference and also to make sure
there are no bugs/surprised when compiling in release mode.

Anyway, I'm just going to Build->Configuration Manage and choosing the first
drop down from "debug" to "release". Below that however the only dropdown
option under configuration is Debug.

Whenever do a "rebuild site" with this set to Release, it says this at the
start of the output:
------ Build started: Project: D:\...\myprog\, Configuration: Debug
..NET ------

So am I doing something wrong or is it not possible to produce a Release
build with the RC bits?

Thanks,

Steve

Nov 19 '05 #1
3 2835
Since 2005 doesn't build "single assembly" websites any more,
"release build" only applies to class assemblies or executables..

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Steve Franks" <pl****@postreplyhere.com> wrote in message
news:Gr********************@comcast.com...
I'm using Visual Studio 2005 RC and cannot figure out how to produce a
"release" build. Am I doing something wrong?

I'm wondering if perhaps MS locked out the ability to produce a release
build when using the RC since it does not have a go-live license? Or maybe
I'm just doing something wrong.

I do not want to go live with a release build. Rather I just want to test
locally to see if there is a performance difference and also to make sure
there are no bugs/surprised when compiling in release mode.

Anyway, I'm just going to Build->Configuration Manage and choosing the first
drop down from "debug" to "release". Below that however the only dropdown
option under configuration is Debug.

Whenever do a "rebuild site" with this set to Release, it says this at the
start of the output:
------ Build started: Project: D:\...\myprog\, Configuration: Debug
.NET ------

So am I doing something wrong or is it not possible to produce a Release
build with the RC bits?

Thanks,

Steve

Nov 19 '05 #2
Thanks. So in other words, even though it says it is doing a "debug" compile
the code is already optimized for production/release?

I realize we of course still need to write efficient code. But I'm still
wondering a bit about the efficiency of the compiled code in this mode. For
instance, for run-time debugging doesn't their need to be extra info
embedded into the files and such? I'm used to the idea of extra bloat being
associated with debug builds. Since the run-time is taking care of
compiling .aspx files into ready-to-run code, is it always optimizing the
generated code for speed and size? Are there any options for code
optimization that can be turned on or that should be considered related to
asp.net projects?

Thanks,

Steve

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Since 2005 doesn't build "single assembly" websites any more,
"release build" only applies to class assemblies or executables..

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Steve Franks" <pl****@postreplyhere.com> wrote in message
news:Gr********************@comcast.com...
I'm using Visual Studio 2005 RC and cannot figure out how to produce a
"release" build. Am I doing something wrong?

I'm wondering if perhaps MS locked out the ability to produce a release
build when using the RC since it does not have a go-live license? Or
maybe
I'm just doing something wrong.

I do not want to go live with a release build. Rather I just want to
test
locally to see if there is a performance difference and also to make sure
there are no bugs/surprised when compiling in release mode.

Anyway, I'm just going to Build->Configuration Manage and choosing the
first
drop down from "debug" to "release". Below that however the only dropdown
option under configuration is Debug.

Whenever do a "rebuild site" with this set to Release, it says this at
the
start of the output:
------ Build started: Project: D:\...\myprog\, Configuration: Debug
.NET ------

So am I doing something wrong or is it not possible to produce a Release
build with the RC bits?

Thanks,

Steve


Nov 19 '05 #3
re:
Thanks. So in other words, even though it says it is doing a "debug" compile the code is
already optimized for production/release?
Remember that the page output generated is MSIL.

That MSIL output will be optimized when it's finally compiled,
with the other code and assemblies, into the final page assembly
which goes in the temporary files directory.

re: for run-time debugging doesn't their need to be extra info embedded into the files and
such?
Not into the assemblies themselves. Into pdb files.

If you examine any application directory under your ASP.NET temp directory
(\Windows\Microsoft.NET\Framework\v2.0.50727\Tempo rary ASP.NET Files\yourapp)

you'll see that there's pdb files there which are used for debugging
when the debugging option is set in the configuration files
<compilation debug=True|False> section.

When you pre-compile your website,
the pdb's are not generated and the code is optimized.

re: Are there any options for code optimization that can be turned on or that should be
considered related to asp.net projects?
Only when you build utility assemblies to place in the bin directory.
You can choose Debug or Release versions for those.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Steve Franks" <pl****@postreplyhere.com> wrote in message
news:0J********************@comcast.com... Thanks. So in other words, even though it says it is doing a "debug" compile the code is
already optimized for production/release?

I realize we of course still need to write efficient code. But I'm still wondering a
bit about the efficiency of the compiled code in this mode. For instance, for run-time
debugging doesn't their need to be extra info embedded into the files and such? I'm
used to the idea of extra bloat being associated with debug builds. Since the run-time
is taking care of compiling .aspx files into ready-to-run code, is it always optimizing
the generated code for speed and size? Are there any options for code optimization that
can be turned on or that should be considered related to asp.net projects?

Thanks,

Steve

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Since 2005 doesn't build "single assembly" websites any more,
"release build" only applies to class assemblies or executables..

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Steve Franks" <pl****@postreplyhere.com> wrote in message
news:Gr********************@comcast.com...
I'm using Visual Studio 2005 RC and cannot figure out how to produce a
"release" build. Am I doing something wrong?

I'm wondering if perhaps MS locked out the ability to produce a release
build when using the RC since it does not have a go-live license? Or maybe
I'm just doing something wrong.

I do not want to go live with a release build. Rather I just want to test
locally to see if there is a performance difference and also to make sure
there are no bugs/surprised when compiling in release mode.

Anyway, I'm just going to Build->Configuration Manage and choosing the first
drop down from "debug" to "release". Below that however the only dropdown
option under configuration is Debug.

Whenever do a "rebuild site" with this set to Release, it says this at the
start of the output:
------ Build started: Project: D:\...\myprog\, Configuration: Debug
.NET ------

So am I doing something wrong or is it not possible to produce a Release
build with the RC bits?

Thanks,

Steve



Nov 19 '05 #4

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

Similar topics

3
by: Petri J. Riipinen | last post by:
Hi, I'm writing a largish (>60 projects) solution with VS.NET 2003 using VB.NET as my implementation language. I'm using NUnit and NUnit VS.NET-addin to implement unit tests for my code. ...
0
by: Steve Franks | last post by:
I'm using Visual Studio 2005 RC and cannot figure out how to produce a "release" build. Am I doing something wrong? I'm wondering if perhaps MS locked out the ability to produce a release build...
3
by: gregory_may | last post by:
Is it possible to Obfuscate the Release build of my application as part of the compile/automatically? Thanks!
1
by: | last post by:
Hello group, As a C programmer I know that using a release build is very important to make reversing as hard as possible. Does this apply also in vb.net. i.e. apart from the "apparent?" incease...
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?
0
!NoItAll
by: !NoItAll | last post by:
So when I build a VB.net application an .exe appears in the BIN folder, in the OBJ\RELEASE folder, the Debug folder - and even a few other places. So which one of these do I ship to a customer -...
0
by: Alex B. | last post by:
I have an asp.net VS 2005 solution that was converted from VS 2003 that I have a deployment problem with. It compiles and runs fine, but now that I'm ready to deploy it I cannot set the website...
2
by: David Adams | last post by:
Hi, I am trying to build and deploy a web project from VS 2005 and am unable to select "Release" when I look at the configuration manager. I have several other projects that I am using that I...
3
by: Bob Johnson | last post by:
It is my understanding - and please correct me if I'm wrong - that when building a project in debug mode, I can deploy the .pdb file along with the ..exe and thereby have access to the specific...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...

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.