471,337 Members | 817 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 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 1646
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Player | last post: by

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.