When I am building a project in Visual Studio 2005, I can create
references to assemblies that were built by other projects. The problem
is that I don't see how to create a reference that switches between the
debug and release builds of the other project, when I switch between the
debug and release configurations of my parent project.
That is, when I'm building, running, and of course debugging a project, I
want to use the debug versions of at least some of the assemblies I
reference, so that I can step into them as I debug. When I build the
release version of a project, I want the generated assembly to reference
the release versions of the assemblies it references.
And I want to do this without having to manually drop and restore the
references in question.
Am I out of luck? Or is there a way to do this that I've simply never
figured out?
--
Jefferson was unquestionably one of our giants. There was more in his
head than there has been in the heads of all the presidents in office
since he went out. He was a man of immense intellectual curiosity,
profound originality, and great daring. His integrity was of doric
massiveness. But was he always right? I don't think many reflective
Americans of today would argue that he was.
- H. L. Mencken 1 1401
You have to make sure the compile on all projects are set to Release. I am
not sure if setting at the solution level does this or not. If not, it is a
manual process.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
Subscribe to my blog http://gregorybeamer.spaces.live.com/lists/feed.rss
or just read it: http://gregorybeamer.spaces.live.com/
*************************************************
| Think outside the box!
|
*************************************************
"Jeff Dege" <jd***@jdege.visi.comwrote in message
news:_d******************************@posted.visi. ..
When I am building a project in Visual Studio 2005, I can create
references to assemblies that were built by other projects. The problem
is that I don't see how to create a reference that switches between the
debug and release builds of the other project, when I switch between the
debug and release configurations of my parent project.
That is, when I'm building, running, and of course debugging a project, I
want to use the debug versions of at least some of the assemblies I
reference, so that I can step into them as I debug. When I build the
release version of a project, I want the generated assembly to reference
the release versions of the assemblies it references.
And I want to do this without having to manually drop and restore the
references in question.
Am I out of luck? Or is there a way to do this that I've simply never
figured out?
--
Jefferson was unquestionably one of our giants. There was more in his
head than there has been in the heads of all the presidents in office
since he went out. He was a man of immense intellectual curiosity,
profound originality, and great daring. His integrity was of doric
massiveness. But was he always right? I don't think many reflective
Americans of today would argue that he was.
- H. L. Mencken
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Eddy |
last post by:
Problem:
In 'solution A', 'project 1' references 'project 2'. As such, when 'solution A' is built (debug mode), project '1' creates a dll in /debug, and project '2' referneces that dll. All is good....
|
by: Stephen McCrea |
last post by:
When I switch from debug to release in a solution that holds a few class
library projects with some interdependencies bow can I direct the references
from .../debug/x.dll to .../release/x.dll...
|
by: Ed Sutton |
last post by:
My solution contains multiple C# and C++ components as well as a deployment
project.
In my top-level C# WinForms application, I added references to some
components by browsing to the...
|
by: VM |
last post by:
My solution has 4 projects, and two of those projects have a reference to a
ZM_Utilities project (a class library) that's part of the solution.
Whenever I compile to test, I "Build Solution", with...
|
by: Benjamin Harper |
last post by:
I have a C# DLL that references a mixed-mode C++ DLL of mine. The mixed-mode
DLL compiles either to a debug version or a release version. How can I
specify in my C# project that I want the...
|
by: _DS |
last post by:
The two obvious methods for ref'ing assemblies are:
Add a reference and 'Browse' for the actual DLL
OR
Add existing project to the solution, then add a ref to 'Project'.
1: I'd like to...
|
by: Bruce |
last post by:
I am using VB in Vs2005. Am I missing something or does VB not have the
concept of "builds" (release/debug) like in VC? I wrote an assembly
and I would like to have a debug version of the DLL...
|
by: DonJefe |
last post by:
Does anyone have experience using project->project references in large
solutions? What are the plus/minuses that you have found?
Currently, we are using the binary assembly references for our...
|
by: Andrew Rowley |
last post by:
I am having trouble getting debug and release builds to work properly
with project references using C++ .NET and Visual Studio 2003.
I created a test solution, with a basic Windows form C++...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |