Compiling a Release Platform uses Debug DLLs

O

O.B.

In .NET 2005, I have a C# GUI project that is dependent on a C# DLL
project. When I compile the GUI project in Release mode, it copies
the "debug" version of the DLL into the bin directory of the GUI
project. How do I configure the project to copy in the "release"
version fo the DLL?
 
O

O.B.

In .NET 2005, I have a C# GUI project that is dependent on a C# DLL
project. When I compile the GUI project in Release mode, it copies
the "debug" version of the DLL into the bin directory of the GUI
project. How do I configure the project to copy in the "release"
version fo the DLL?

To make matters worse, if I clean the entire solution and then execute
a batch build to build only the Release versions of the DLL and the
GUI, the compilation fails saying that the debug version of the DLL
could not be found. I'm using .NET 2005 SP2.
 
O

O.B.

To make matters worse, if I clean the entire solution and then execute
a batch build to build only the Release versions of the DLL and the
GUI, the compilation fails saying that the debug version of the DLL
could not be found. I'm using .NET 2005 SP2.

Typo. .NET 2005 SP1.
 
G

Guest

O.B.

Open the Configuration Manager dialog (from the menu....Debug -->
Configuration Manager).
Select the "Active solution configuration" (ie. Release) and the correct
platform (i.e. Any CPU).

In the list of projects, make sure the Configuration is set to "Release" for
all of the projects and the Build box is checked.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top