Solved

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

Posted on 2006-11-01
7
490 Views
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?
0
Comment
Question by:brotherbill999
  • 3
  • 2
  • 2
7 Comments
 
LVL 12

Expert Comment

by:guidway
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.
0
 
LVL 12

Expert Comment

by:guidway
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.
0
 
LVL 5

Expert Comment

by:DEEPESH
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
0
Technology Partners: 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!

 

Author Comment

by:brotherbill999
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?
0
 
LVL 5

Accepted Solution

by:
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
0
 

Author Comment

by:brotherbill999
ID: 17857347
I added the "Solutions Configurations" to the Build Menu, but it is disabled.
0
 
LVL 5

Expert Comment

by:DEEPESH
ID: 17857395
Ahhhh!!!!!!!!!!!!!!
Then in that case I suggest you to set new profile for u r self
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
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…

740 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