How to set DLL project as Debug or Release for Winforms?

Posted on 2006-11-01
Last Modified: 2012-06-27
How do I set a DLL project as Debug or release for Winforms?
Or does Visual Studio create both, one in Debug folder, and the other in Release folder?
Question by:brotherbill999
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
LVL 12

Expert Comment

ID: 17855218
Right click on the DLL Project in the Solution Explorer, click Properties, then click on the text that says "Configuration Properties", then at the top of the dialog a combobox called Configuration will become enabled. Click on either Debug or Release in this dialog will change the project build mode.
LVL 12

Expert Comment

ID: 17855229
Also, you can click on the Build Menu and select Configuration Manager. Then under the name of your DLL Project, you can select Debug/Release under the Configuration column.

Expert Comment

ID: 17855606
GUIDwAY IS RIGHT, I will like to add one more thing when you choose Release mode dll will be compiled into \bin\Release and similarly in debug mode u will fnd dll in \bin\Debug

difference beween both Debug and Release Configurations is

The Debug configuration of your program is compiled with full symbolic debug information and no optimization. (Optimization complicates debugging, since the relationship between source code and generated instructions is more complex.)

The Release configuration of your program is fully optimized and contains no symbolic debug information. Debug information may be generated in separate PDB files.
You can switch between Release and Debug versions using the Standard toolbar
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.


Author Comment

ID: 17857240
When I click Properties, I see a bunch of tabs on left.  None of them has a combo box called "Configuration Properties".
Also, the Build Menu doesn't have a "Configuration Manager"

What can I do so that VS 2005 Standard will display these?

Accepted Solution

DEEPESH earned 500 total points
ID: 17857314
Right Click the toolbar in your IDE, choose customise option,  select build from left pane and from right pane drag Solution Configurations to your toolbar. This will give you option of Selcting Debug and Release mode

Author Comment

ID: 17857347
I added the "Solutions Configurations" to the Build Menu, but it is disabled.

Expert Comment

ID: 17857395
Then in that case I suggest you to set new profile for u r self

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to get a Powershell script to launch from Visual Studio 20 102
Get sourcecode path 14 65
reading an excel file 2 47
.Net remove carriage returns, line feeds and tabbs 5 38
This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below.…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question