Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / October 2007

Tip: Looking for answers? Try searching our database.

Debug/Release Mode

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Scott M. - 14 Oct 2007 16:19 GMT
Am I correct in thinking that in VS 2005, we no longer have a Debug vs.
Release mode drop down because when you build, both Debug and Release
versions are built and placed in the appropriate project folders?

Also, what does the "Clean Solution" choice do?

Thanks,

-Scott
Peter Macej - 14 Oct 2007 18:20 GMT
> Am I correct in thinking that in VS 2005, we no longer have a Debug vs.
> Release mode drop down because when you build, both Debug and Release
> versions are built and placed in the appropriate project folders?

There is configuration manager drop-down list in VS 2005 but sometimes
it is hidden. See my blog post at
http://www.helixoft.com/blog/archives/18 for the solution.

Signature

Peter Macej
Helixoft - http://www.helixoft.com
VSdocman - Commenter and generator of class documentation for C#, VB
.NET and ASP .NET code

Scott M. - 14 Oct 2007 19:00 GMT
Thanks Peter - I have noticed though, that when I build, both my debug and
my release folders wind up with my project assemblies built in them.  The
release folder doesn't have the .pdb file though (as it shouldn't), so when
you build, is it automatic that you get both builds by default?

-Scott

>> Am I correct in thinking that in VS 2005, we no longer have a Debug vs.
>> Release mode drop down because when you build, both Debug and Release
[quoted text clipped - 3 lines]
> is hidden. See my blog post at http://www.helixoft.com/blog/archives/18 
> for the solution.
Peter Macej - 15 Oct 2007 08:01 GMT
This shouldn't happen after you check "Show advanced build
configurations" mentioned in the blog. MSDN
(http://msdn2.microsoft.com/en-us/library/fs91s003(VS.80).aspx) says:

"With simplified build configurations, the project system determines
whether to build a debug or release version. The Build command from the
Debug menu (F5) will put the build in the debug location regardless of
the Output path you specify. However, the Build command from the Build
menu puts it in the location you specify. To enable advanced build
configurations, on the Tools menu, click Options. In the Options dialog
box, expand Projects and Solutions, click General, and then clear the
Show advanced build configurations check box. This gives you manual
control over all configuration values and whether a debug or release
version is built."

I believe this is your case. In addition to Release and Debug, I have
defined 3 more configurations and VS always builds only the selected one.

Signature

Peter Macej
Helixoft - http://www.helixoft.com
VSdocman - Commenter and generator of class documentation for C#, VB
.NET and ASP .NET code

Scott M. - 15 Oct 2007 20:16 GMT
Thanks Peter - I think this is the issue.

> This shouldn't happen after you check "Show advanced build configurations"
> mentioned in the blog. MSDN
[quoted text clipped - 13 lines]
> I believe this is your case. In addition to Release and Debug, I have
> defined 3 more configurations and VS always builds only the selected one.
Scott M. - 15 Oct 2007 20:40 GMT
Interestingly, my fresh install of VS 2005 did not already have "Show
Advanced Build Configurations" checked.  I turned it on so that I could
control the build and it does allow me to choose debug or release.

But, here's the catch...Even if I choose Release (Windows Forms app), the
files go in the Release folder, but there is a .pdb file in there.

What gives and how can I do a release build that actually creates the
release quality files?

> This shouldn't happen after you check "Show advanced build configurations"
> mentioned in the blog. MSDN
[quoted text clipped - 13 lines]
> I believe this is your case. In addition to Release and Debug, I have
> defined 3 more configurations and VS always builds only the selected one.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.