473,396 Members | 1,987 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,396 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 2868
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.