CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_web_developer_2005_express Tags:
Item Type: NewsGroup Date Entered: 6/11/2007 10:18:36 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 105 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
KBTibbs
Asp.Net User
I want to define debug6/11/2007 10:18:36 PM

0/0

 I've got Visual web developer 2005 Express, and there is code I want to run when I build a "release" build, but not run in the "debug" version (I want to redirect to SSL in the release version, but stay plain text in debug).

 I've put the code inside of a  #IF DEBUG ... #ENDIF block, but I can't for the life of me figure out how to Set DEBUG for the project. There is no project properties like in the Big Boy version of Visual Studio, and going to "Build" -> "Configuration manager" brings up A completely incomprehensible grid the only thing I can do with is check of uncheck "Build."

 Where can I define DEBUG for debug builds and not for release builds?? 

 

 

vivek_iit
Asp.Net User
Re: I want to define debug6/12/2007 6:51:38 PM

0/0

 I think the #debug code will only run during the debug mode, it will be ignored for the release mode automatically.

What is your current build setting? By default its DEBUG.

Vivek 


MVP, ASP.NET || My Website || Blog || Articles

Please mark the most helpful reply/replies as "Answer".
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Presenting C# Authors: Christoph Wille, Pages: 204, Published: 2000
Hardware Hacking: Have Fun While Voiding Your Warranty Authors: Joe Grand, Syngress Media, Inc, Ryan Russell, Kevin D. Mitnick, Pages: 448, Published: 2004
Programming C#: Jesse Liberty Authors: Jesse Liberty, Pages: 689, Published: 2003
Code Complete: A Practical Handbook of Software Construction Authors: Steve McConnell, Pages: 857, Published: 1993
PHP Cookbook Authors: David Sklar, Adam Trachtenberg, Safari Tech Books Online, Pages: 608, Published: 2003
Sams Teach Yourself C# in 21 Days Authors: Bradley Jones, Pages: 749, Published: 2001
Practical C++ Programming Authors: Steve Oualline, Pages: 550, Published: 2002
VBScript Programmer's Reference: Programmer's Reference Authors: Adrian Kingsley-Hughes, Daniel Read, Pages: 773, Published: 2007
Mastering Visual C# .NET Authors: Jason Price, Mike Gunderloy, Pages: 978, Published: 2002

Web:
I want to define debug - ng.asp-net-forum ... I want to define debug, > ROOT > NEWSGROUP > Asp.Net Forum > visual_studio. visual_web_developer_2005_express, Date: 6/11/2007 10:18:36 PM, Replies: 1, ...
FAQTs - Knowledge Base - View Entry - I want an equivalent of c ... I want an equivalent of c "#define DEBUG 1" for my file that if set print a debug message.... Feb 14th, 2007 10:42 stephen brown, Nick Lunghi, ...
Technical Q&A QA1431: How do I use asserts while debugging? Jun 30, 2006 ... Add "#define DEBUG 1" to just the source files where you want assertions enabled and then every exception in just those files will cause an ...
Define Debug A definition of debug as used in the travel industry.
The #define directive #define debug. You can change the definition of a defined identifier or macro with a second preprocessor #define directive only if the second preprocessor ...
debug code vs release code : debug You could define RELEASE macros similarly but I can't think that you would want to. You would want to have all the code in the debug build for debugging ...
Qt-interest Archive - "qglobal.h" : 'DEBUG' flag !! Well, read what it says there, define -DNO_DEBUG as well Dirk ... #define DEBUG // display debug messages > #endif > > How could I get what I want done ...
#iidef and #define to debug program - C iidef and #define to debug program. Get answers to your questions in our C forum .
MSDN Visual C# IDE Define DEBUG constant for a web project On the production web site I do not want to do this. ... Is it possible to define the DEBUG constant for web development project in Visual Studio 2005? ...
Kevin Buettner - [PATCH] aix-thread.c: Eliminate #define DEBUG ... It addresses Andrew's concern regarding ``#define DEBUG 0'' and related macros. Kevin * aix-thread.c (gdbcmd.h): Include. (DEBUG, DBG, DBG2, dbg): Eliminate ...

Videos:
Igor Roman - Logging For Fun And Proffit Perl Programming Talks at YAPC::Braga When debugging a problem in an application, people generally resort to scattered print's throughout the code. ...
Step 2 Starting a new Fortan DLL project. Declare variable dimension matrices to store data. Define Excel as application to load our DLL during debug sessio...
GCCFRONT #54 GCC FRONT END http://www.ibiblio.org/pub/Linux/docs/HOWTO/GCC-Frontend-HOWTO GCC Frontend HOWTO print_lang_type(FILE *file, tree node, int indent) Outputs ...
Project Offset - Sneak Peak 1 This was the video that started it all. Released in June, this video shows some character designs, detailed models, HDR lighting, and ends with a tas...
Mechatronics Mechanical System Control - It's the Software! Google Tech Talks September 21, 2006 David Auslander ABSTRACT The history of mechanical system control is one of striving for ever greater complexi...
An Introduction to SQLite Google TechTalks May 31, 2006 Richard Hipp ABSTRACT SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQ...
Distributed continuous quality assurance Google London Test Automation Conference (LTAC) Google Tech Talks September 8th, 2006 Presenter: Adam Porter
Zero Configuration networking with Bonjour Google TechTalks November 2, 2005 Dr. Stuart Cheshire, Apple Computer http://www.stuartcheshire.org/ ABSTRACT The desirability of making IP networ...




Search This Site:










visual studio.net html formatting

bandwidth restrictions per portal (on a dedicated server) ?

mk.bat

asp:image and master pages..an easy one i think!

displaying html in a textbox

how to get ad user

using portal.css upon private assembly module

treeview not working when migrated to 2.0

? re: experience with dnn content builder

setting user control property programmatically

how to transfer customerid from orderlist.aspx to orderdetail.aspx

to modify the noun of the dotnetnuke.all project?

posting or replying on forums page

undo add module to all pages

dev environment really slow to load dnn

ack. the old "there is a problem with your selected data store. this can be caused by an invalid server name or credentials..." error message in trying to change my provider from sqlexpress to sql2k...

sever problem with references usnig asp.net vb projects

custom sitemapprovider that should get fresh data when parameters changes

convert to partial classes

web adminisration tool....

form authentication

aspnet_regiis.exe "cannot be opened" error

ngallery to dnn gallery converter

new httpresponse class, please help

asp.net web admin with custom provider

is it possible to run custom controls in <title><meta> tags without placing the form tag at the start of the page?

runtime error

dnn 2 win 2003 permissions

converting treeview

securing .doc / .pdf or .xml files under forms authentication

 
All Times Are GMT