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

Non-existing reference yet it compiles

Joe
I'm compiling a class library that includes references to 3 other libraries.
Every time the library compiles the 3 referenced libraries show in the
manifest as a different public key than I have on my machine.

I have checked my machine many times over to see if there are any other
copies with the public key that the library is being compiled with but
nothing turns up.

If I use ADepends to look at the resulting dll, the 3 referenced assemblies
show up in red.

What makes this even stranger is that this only happens with this one
library. I have another one that references the same assemblies and I can
compile either before or after this one and it always shows the correct
reference.

Is there something I'm missing? This is driving me crazy!

-Joe
Apr 5 '06 #1
4 1227
Joe
This is even more confusing now... I ran ildasm on the dll and all the
publickeys are correct but when I check the same dll with adepends it shows
an old non-existent public key.

Any ideas?
-Joe

"Joe" <jb*******@noemail.noemail> wrote in message
news:em**************@TK2MSFTNGP02.phx.gbl...
I'm compiling a class library that includes references to 3 other
libraries. Every time the library compiles the 3 referenced libraries show
in the manifest as a different public key than I have on my machine.

I have checked my machine many times over to see if there are any other
copies with the public key that the library is being compiled with but
nothing turns up.

If I use ADepends to look at the resulting dll, the 3 referenced
assemblies show up in red.

What makes this even stranger is that this only happens with this one
library. I have another one that references the same assemblies and I can
compile either before or after this one and it always shows the correct
reference.

Is there something I'm missing? This is driving me crazy!

-Joe

Apr 6 '06 #2
Hi Joe,

We haven't experienced such a strange scenario. It appears there is
something wrong with that particular class library.

Since you mentioned this problem only happens to that class library, have
you tried to remove those 3 assemblies references and then add them again?
Thanks!

Best regards,

Gary Chang
Microsoft Community Support
================================================== ====
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Apr 6 '06 #3
Joe
Hi Gary,

I removed the references and re-added them. I also build the other libs
using a different name and tried adding them. Now it doesn't compile. I get
an error that it's trying to find the assemblies with the old name (name,
version, public key) even though I can't find a single reference to these in
the project.

I did a search on the folder that contains the files to see if any file was
referencing it anywhere but I can't find any.

The project was upgraded to VS.Net 2003 from 2002 it that helps at all.

Thanks for any help,
Joe

""Gary Chang[MSFT]"" <v-******@online.microsoft.com> wrote in message
news:9Z**************@TK2MSFTNGXA01.phx.gbl...
Hi Joe,

We haven't experienced such a strange scenario. It appears there is
something wrong with that particular class library.

Since you mentioned this problem only happens to that class library, have
you tried to remove those 3 assemblies references and then add them again?
Thanks!

Best regards,

Gary Chang
Microsoft Community Support
================================================== ====
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access
the
partner newsgroups.
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

Apr 11 '06 #4
Hi Joe,
The project was upgraded to VS.Net 2003 from 2002 it that helps at all.


Do you mean the problematic project is upgraded from VS2002?

If so, some reference link may be corrupted during the upgrading?
Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Apr 12 '06 #5

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

Similar topics

12
by: lothar | last post by:
re: 4.2.1 Regular Expression Syntax http://docs.python.org/lib/re-syntax.html *?, +?, ?? Adding "?" after the qualifier makes it perform the match in non-greedy or minimal fashion; as few...
17
by: cheeser | last post by:
Hello all, Please see the question in the code below... Thanks! Dave #include <iostream>
3
by: Mario | last post by:
Hello, I couldn't find a solution to the following problem (tried google and dejanews), maybe I'm using the wrong keywords? Is there a way to open a file (a linux fifo pipe actually) in...
32
by: Adrian Herscu | last post by:
Hi all, In which circumstances it is appropriate to declare methods as non-virtual? Thanx, Adrian.
22
by: Steve - DND | last post by:
We're currently doing some tests to determine the performance of static vs non-static functions, and we're coming up with some odd(in our opinion) results. We used a very simple setup. One class...
2
by: Ian825 | last post by:
I need help writing a function for a program that is based upon the various operations of a matrix and I keep getting a "non-aggregate type" error. My guess is that I need to dereference my...
0
by: amitvps | last post by:
Secure Socket Layer is very important and useful for any web application but it brings some problems too with itself. Handling navigation between secure and non-secure pages is one of the cumbersome...
399
by: =?UTF-8?B?Ik1hcnRpbiB2LiBMw7Z3aXMi?= | last post by:
PEP 1 specifies that PEP authors need to collect feedback from the community. As the author of PEP 3131, I'd like to encourage comments to the PEP included below, either here (comp.lang.python), or...
9
by: Francois Grieu | last post by:
When running the following code under MinGW, I get realloc(p,0) returned NULL Is that a non-conformance? TIA, Francois Grieu #include <stdio.h> #include <stdlib.h>
12
by: puzzlecracker | last post by:
is it even possible or/and there is a better alternative to accept input in a nonblocking manner?
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
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...
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

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.