473,378 Members | 1,416 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,378 software developers and data experts.

Understanding references...

VM
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 Active Solution
Configuration = Debug (and everything underneath in Debug). The only time I
do a "Batch Build" is when I need to create a "Release" version of the Win
applications for the users to test.

In my ZM_Utilities.Utilities class, I added a new method but when I
recompile everything, the projects don't recognize the new method. So I went
to all directories and erased all copies of ZM_Utilities.dll because they
all had modification dates previous to the time I added the new methos..
When I compile again, one of the errors I get is: "Metadata file
'C:\Zipmaster7\Dev\ZMmatch\bin\Release\ZM_Utilitie s.dll' could not be
found".

Why is it looking for a a DLL in Release if everything I'm doing is in Debug
mode? And how can it automatically update all DLL copies in the Solution
dir. once I make a change to it? Even if I compiled that ZM_Utilities, the
date doesn't change. And when I erase it, it'll copy an older version of the
DLL (not the modified one).
Any help would be appreciated.

Nov 16 '05 #1
1 1250
VM wrote:
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 Active Solution
Configuration = Debug (and everything underneath in Debug). The only time I
do a "Batch Build" is when I need to create a "Release" version of the Win
applications for the users to test.

In my ZM_Utilities.Utilities class, I added a new method but when I
recompile everything, the projects don't recognize the new method. So I went
to all directories and erased all copies of ZM_Utilities.dll because they
all had modification dates previous to the time I added the new methos..
When I compile again, one of the errors I get is: "Metadata file
'C:\Zipmaster7\Dev\ZMmatch\bin\Release\ZM_Utilitie s.dll' could not be
found".

Why is it looking for a a DLL in Release if everything I'm doing is in Debug
mode? And how can it automatically update all DLL copies in the Solution
dir. once I make a change to it? Even if I compiled that ZM_Utilities, the
date doesn't change. And when I erase it, it'll copy an older version of the
DLL (not the modified one).


When adding a reference to an assembly that is built as one of the
Projects in the current Solution, make sure that you add it via the
"Projects" tab in the Add References dialog box.

That way instead of referring to a particular file on the file system,
the build will refer to the output of the build for that project.

--
mikeb
Nov 16 '05 #2

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

Similar topics

9
by: Marty McDonald | last post by:
If I invoke a web service, and it throws an exception, I can see the exception if the client app is a .Net app. However, if the client app is not a .Net app, I only receive the HTTP 500 error. I...
2
by: rodchar | last post by:
hey all, i have a simple app that references the web.config. i browse to the page. i changed the web.config. i do a postback to the page, And session is gone. Only after i close the browser...
3
by: Miguel | last post by:
Hi, I'm new to .NET and am using VB .NET as I am from a VB background. I am having difficulty understanding the way .NET handles, passes and uses objects. I have had a look at the Micrsoft Data...
5
by: Irfan Mumtaz | last post by:
hi, I had posted a question in the group "how to arrange arrays in increasing order" Although i got an answer using IComparable Interface by Harfried ,which is given below. Dim InputArray()() As...
18
by: Simon | last post by:
Hi, I understand what one the differences between std::vector, std::deque and std::list is, the std::vector can have data inserted/deleted at the end. The std::deque can have data...
3
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here...
9
by: igor.kulkin | last post by:
References is a relatively basic feature of C++ language. It might be a good thing to think of references as aliases to the variables. However it's good to think of references this way when you...
13
by: Chris Carlen | last post by:
Hi: I have begun learning Python by experimenting with the code snippets here: http://hetland.org/writing/instant-python.html In the section on functions, Magnus Lie Hetland writes: ...
5
by: arnuld | last post by:
it works fine: /* C++ Primer - 4/e * * example from section 7.2.2, pointer-swap * STATEMENT * in a function call where parameters are pointers, we actually copy the pointers. * here in this...
5
Nepomuk
by: Nepomuk | last post by:
Hi! I'm learning C++ and have just read about Pointers and References a bit. Now I'm not absolutely sure, that I've understood it correctly. I asume, that (taking an example from the real world)...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...

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.