473,402 Members | 2,055 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,402 software developers and data experts.

When compiling, are References from their latest build?

I have a project with many References to other projects of mine (data access
layer projects, for instance). When I compile a data access layer project,
the Reference in the parent project goes stale (yellow icon) when the parent
project is concurrently open (two VS instances).

I have been manually deleting the stale Reference and re-adding the
Reference in the concurrently open parent project.

Is this manual process necessary, or will the stale reference be
automatically refreshed next time I compile the parent project?

Another similar question, when compiling the parent project, are all
"non-stale" references automatically refreshed from the reference file path
during the compilation of the parent project?

Thanks,
Dean S

Dec 19 '07 #1
4 1378
Dean Slindee wrote:
I have a project with many References to other projects of mine (data
access layer projects, for instance). When I compile a data access
layer project, the Reference in the parent project goes stale (yellow
icon) when the parent project is concurrently open (two VS instances).
Just out of interest, what do you have the AssemblyVersion value set to for
your project?

Do you have it set to a fixed values (e.g., "1.0.0.0") or is it set to be
auto-generated (e.g., "1.0.*")?

--

(O)enone
Dec 19 '07 #2


"Dean Slindee" wrote:
I have a project with many References to other projects of mine (data access
layer projects, for instance). When I compile a data access layer project,
the Reference in the parent project goes stale (yellow icon) when the parent
project is concurrently open (two VS instances).

I have been manually deleting the stale Reference and re-adding the
Reference in the concurrently open parent project.

Is this manual process necessary, or will the stale reference be
automatically refreshed next time I compile the parent project?

Another similar question, when compiling the parent project, are all
"non-stale" references automatically refreshed from the reference file path
during the compilation of the parent project?

Thanks,
Dean S
Is there a reason you don't have both projects in one solution? This would
be taken care of by the solution dependencies by setting it up as such.

Dec 19 '07 #3
Here is a link to an MSDN article relating to my question indirectly (list
item #8). Since the context menus no longer appear in VS2005, I presume
that VS is handling my question automatically. To answer your question, I
have 34 interrelated projects in a heirarchy about 5 deep. I used to have
the projects all together early on, but using references instead cleaned up
that mess.

"Family Tree Mike" <Fa************@discussions.microsoft.comwrote in
message news:89**********************************@microsof t.com...
>

"Dean Slindee" wrote:
>I have a project with many References to other projects of mine (data
access
layer projects, for instance). When I compile a data access layer
project,
the Reference in the parent project goes stale (yellow icon) when the
parent
project is concurrently open (two VS instances).

I have been manually deleting the stale Reference and re-adding the
Reference in the concurrently open parent project.

Is this manual process necessary, or will the stale reference be
automatically refreshed next time I compile the parent project?

Another similar question, when compiling the parent project, are all
"non-stale" references automatically refreshed from the reference file
path
during the compilation of the parent project?

Thanks,
Dean S

Is there a reason you don't have both projects in one solution? This
would
be taken care of by the solution dependencies by setting it up as such.
Dec 21 '07 #4
Automatically updating version number. Turns out my problem was due to a
inappropriate login name parameter as setup by our dba. Once I pointed the
problem out to him, the problem was resolved (as in not in my code).

"(O)enone" <oe****@nowhere.comwrote in message
news:0M***************@newsfe4-win.ntli.net...
Dean Slindee wrote:
>I have a project with many References to other projects of mine (data
access layer projects, for instance). When I compile a data access
layer project, the Reference in the parent project goes stale (yellow
icon) when the parent project is concurrently open (two VS instances).

Just out of interest, what do you have the AssemblyVersion value set to
for your project?

Do you have it set to a fixed values (e.g., "1.0.0.0") or is it set to be
auto-generated (e.g., "1.0.*")?

--

(O)enone
Dec 21 '07 #5

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

Similar topics

0
by: Joonas Paalasmaa | last post by:
Hi, When compiling Sketch's streamfilter C extension the errors below are raised during linking. What could cause the errors? (Python 2.3, MinGw 1.1 with GCC 2.95.3-6, Windows 98) Here are...
1
by: Craig Ringer | last post by:
Hi folks I'm a bit of a newbie here, though I've tried to appropriately research this issue before posting. I've found a lot of questions, a few answers that don't really answer quite what I'm...
3
by: raghavendra | last post by:
while compiling windows service Project configuration skipped because it is not selected in this solution configuration Regards, Raghavendra
4
by: Aaron Queenan | last post by:
When I build a C++ library to .NET using the managed C++ compiler, I get the following error message: Linking... LINK : error LNK2020: unresolved token (0A000005) _CrtDbgReport LINK : error...
3
by: Ryan Riehle | last post by:
Hi All! Trying to upgrade to Apache 2.0.49 and getting compile errors related to mod_auth_pgsql, any clue?: make: Entering directory `/usr/src/httpd-2.0.49'...
6
by: tony | last post by:
Hello! I have several projects where each one build a library.(class library or window control library). Now I get some strange compile error when building the *.exe file and doesn't...
2
by: robert | last post by:
I've trouble compiling win32all. VC98 and latest SDK installed (otherwise with original SDK it won't even compile). It tells that uuid.lib(cguid_i.obj) : fatal error LNK1103: debug info is...
0
by: Fabian von Romberg | last post by:
Hi, I have a small project that is compiled into one single assembly and obfuscated with Dotfuscator. When I test it I get error due to references problems (invalid namespaces, function names,...
37
by: Michael Palmer | last post by:
As anyone knows, the state of Python GUI programming is a little fractured at this time, with many toolkits, wrappers and meta-wrappers dead and alive, with or without documentation. I've come...
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
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
marktang
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,...
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
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...
0
tracyyun
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...
0
agi2029
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,...

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.