I have a solution containing a windows forms application and a class library. The windows forms application has a reference to the class library project. When I build the project, it fails to find the class library output. Looking closer at this, it appears that VS.NET is looking for the debug build, but the class library has been built in release mode.
Since I have no idea how to switch between debug and release (used to be a toolbar option) I would have assumed that since I must be in debug mode, VS.NET would have built both in debug mode and no problems. So why has it built my class library in release mode and attempt to build my forms application in debug mode, then fail because it can't find the debug version of the class library
Help much appreciated.

Debug and Release Buids
Tom Stark
You might have a configuration that's messed up somehow. Go to Build | Configuration Manager and you should see two projects listed for the Active Solution Configuration - one for the windows form and one for the class library. If there isn't a check mark in the Build Column for a project then that project doesn't get built. So, if your Debug solution configuration doesn't have a check mark for the class library, your class library would never get built.
The configuration manager also specifies which project configuration should be built. Normally the Debug Solution configuration builds the Debug configuration of each build. If your Debug solution configuration specifies that the Release version of ClassLibrary should be built it might cause problems - but probably not VS 2005 is smart enough to use the Releae bin directories if that's what the configuration says to do.
It still is a Toolbar option. Right click on a blank part of the toolbar and make sure that the Standard toolbar is checked. Then click on Toolbar Options button at the end of the Standard toolbar then Add Remove Buttons then Standard and make sure the Solution Configurations 'button' is checked (about half way down the list).
That should give you a list box on the Toolbar with the names of your configurations. The name displayed is the ASctive configuration.
You can also change the Active Configuration by using the Build | Configuration Manager menu and changing the name in the Active Solution Configuration box.
That's what it would normally do. After you've done a Rebuild All look at the Output Tab (make sure it is set to "Show output from: Build". Each step in the configuration should start with a liine similar to this...
----- Rebuild All started: Project: ClassLibrary1, configuration: Debug Any CPU -----
If the configuration manager is set right you should see both your library project and your form project get started with the right configuration.
pogitalonx
Because I also cannot see the Solution Configurations combobox. I do have the Standard Toolbar active and when looking at its list of Add/Remove buttons, there is no option for Solution Configurations.
overture
Within VS2005, goto View Menu and select Toolbars and within Toolbars select standard and the menu should appear and then you can switch to debug mode.
Regards,
Vikram
< xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" />