I discovered a strange bug(?) in a .Net Studio solution.
I have a solution with about 10 projects inside it. Many of these projects
reference other projects in the solution. So far, so good.
After making some changes, trying to track down a bug, I noticed that my
changes didn't seem to be making it into the application. I finally tracked
it down and noticed that if I added the project reference in Debug mode,
when I changed to Release mode, the Debug DLL version is still being used.
You can confirm this by looking at the path of the reference. It shows the
path to the Debug version, not the release version.
Am I doing something wrong here? I guess I could try to change the build
parameters so instead of a Release and Debug directory, the compilation
happens to a single directory, but that would be a pain.
Ideas?
Thanks 1 1120
Did you set the references to the file directly? If so, remove these
references and select the project as a reference from the Projects tab in
the Add Reference dialog. This works correctly on my VS versions (2002,
2003, 2005beta).
Ron Allen
"Non Given" <no****@spamhol e.net> wrote in message
news:ce******** **@pita.alt.net ... I discovered a strange bug(?) in a .Net Studio solution.
I have a solution with about 10 projects inside it. Many of these
projects reference other projects in the solution. So far, so good.
After making some changes, trying to track down a bug, I noticed that my changes didn't seem to be making it into the application. I finally
tracked it down and noticed that if I added the project reference in Debug mode, when I changed to Release mode, the Debug DLL version is still being used. You can confirm this by looking at the path of the reference. It shows
the path to the Debug version, not the release version.
Am I doing something wrong here? I guess I could try to change the build parameters so instead of a Release and Debug directory, the compilation happens to a single directory, but that would be a pain.
Ideas?
Thanks
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: cody |
last post by:
We have a huge project, the solutuion spans 50 projects growing. Everytime I
want to start the project I have to wait nearly over 1 minute for the
compiler to complete building. This is unaccaptable.
I thought about loading only the project I need into visual studio and not
the whole solution. The problem is that the compiler tells me it cannot find
the referenced dlls (project references) although they are all lying in
their bin and obj...
|
by: hangten |
last post by:
I have created a setup project for my application. Within this setup
project I need to install another .exe file. When I add the .exe file to
the setup program, I get a message "unable to find
dependency 'MICROSOFT.OFFICE.INTEROP.EXCEL'. So I added this interop dll
but it is not adding it to the dependencies but is just adding it to the
setup project. So when I build it still gives me the same error message.
How can I get it to see that...
|
by: Eric Hirst |
last post by:
I have a Visual Studio Solution .sln which contains multiple projects,
including an ODBC driver .dll and a client .exe.
The client .exe is a simple MFC query tool. Nothing I can find in the client
references the driver directly. It uses a connection string to access the
driver, and does not provide this string until the user has filled in a
login dialog.
But when I debug the .exe, I see that the ODBC driver .dll is being loaded
very...
|
by: Jay A. Moritz |
last post by:
Error: The dependency '<my dll>' in project '<my project>' cannot be copied
to the run directory because it would conflict with dependency '<my dll>'.
I am getting a dependency error building my application that was using some
other namespaces that I had built and incorrectly referenced to the dll
instead of the project, but I ended up removing the reference entirely but
my project keeps getting the error.
How do I tell my project to...
|
by: JT Lovell |
last post by:
I have a solution with 5 projects and I need them to build in a particular order. I understand that setting the project dependencies will allow this, but when I go to the Project Dependencies dialog, the "Depends on" checkboxes are grayed out. Is there something else required in order to enable these?
Thanks,
--
JT Lovell
| |
by: ardentfreaker |
last post by:
Hi Banfa and Everybody,
This is my first post.
Well, I have a problem with a Visual Studio .NET application and was wondering if anybody could help me with figuring out the solution.
I have a Solution S in which Project A is the master project whose dependency is Project B. Project A is set to produce a DLL. Project B's output is a Static Library but is linked from a dynamic link library (DLL and LIB).
Trying to explain the same in...
|
by: unknown; |
last post by:
hello,
i've got a question about using a function from project B in project A.
The projects are both in the same solution (using Microsolft Visual
Studio 2005)
the projects ara both native C++.
i've already added a reffrence from projectB into projectA.
i've got a function in projectA:
|
by: =?Utf-8?B?UGF0IE1vcmFu?= |
last post by:
I have a Visual Studio 2005 setup project for deploying a Windows
application. The application interacts with a hand held and so needs ensure
that either Windows mobile device center Active sync is installed depending
on whether we are installing on Vista or not. Is there any way to make the
dependency based on the OS thae application is being installed on?
Pat
|
by: Norman Diamond |
last post by:
My C# code is I18N'ed by appropriately naming and editing .resx files. At
execution time, it works.
My C++ code is somewhat I18N'ed. When I put UI code in C++ I use .rc files.
When I link to a third party's DLLs I get what they supplied. When I link
to Microsoft's CRT and MFC, um... Well anyway, at execution time it seems
to be working, except when a third party's DLL has a secret dependency.
But what about the installer? A Visual...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |