473,396 Members | 1,967 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Building debug and release?

I'm using VS 2k3. I have built debug versions of projects and now want
to build release versions. The IDE is only letting me build one or the
other. If I build a release version, it removes the debug version.
This breaks references in other projects. Is there a way to keep it
from removing the version I'm not building?

Thanks,
Brett

Jan 31 '06 #1
3 1744
It shouldn't remove the version you're not building, unless you've
configured your project to build both versions to the same folder. By
default they build to Debug and Release versions underneath the bin
folder, but you can change that.

I now prefer to build both versions to the same folder, as it seems to
be the only way to have other projects build with the correct version
(Debug or Release), since I've never found a way using 2003 to specify
different References for the two builds.

Jan 31 '06 #2
If you set a reference in your projects to the other projects in your
solution by choosing the Projects tab in the Add Reference dialog, you should
get the appropriate behavior. Each project will get the current build
version of the referenced project.

--
Dale Preston
MCAD C#
MCSE, MCDBA
"Brett Romero" wrote:
I'm using VS 2k3. I have built debug versions of projects and now want
to build release versions. The IDE is only letting me build one or the
other. If I build a release version, it removes the debug version.
This breaks references in other projects. Is there a way to keep it
from removing the version I'm not building?

Thanks,
Brett

Jan 31 '06 #3
The problem is "any" project will build either a debug or release but
not both. You build one and it takes the other away.

Bruce, how are you building a debug and release to the same folder if
the assemblies are named the same. They would overwrite each other.

Brett

Jan 31 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
1
by: Player | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello all I am using VS.NET 2003. What I am doing apart from teaching myself C# is learning my way round V.NET2003 also.
3
by: Leith Bade | last post by:
I have been trying to use the new Visual C++ Toolkit 2003 with the VC6 IDE I set up the executable, inlcude, and library directories to point to the new compilers I had to fix a few errors in the...
0
by: Vani | last post by:
Has anyone come across this issue? There seems to be a behavioral difference (and possible bug) in visual strudio 2003 when building a vc.net solution through IDE and building the same solution...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.