Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / May 2006

Tip: Looking for answers? Try searching our database.

Unable to Find Dependency

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
durrenm@yahoo.com - 10 May 2006 16:18 GMT
"Unable to Find Dependency"

I'm running VS 2002 with .net 1.1 on Windows XP Mediacenter Edition

Since I installed VS2002 (last week), I've been getting "unable to find
dependency" warning errors and erratic behvior from my debugger. (The
debugger works some times, but usually not at all)

I have looked at every reference google can find to "unable to find
dependency" (web and groups) and have not yet found a solution. I've
tried to include a reasonable narrative of steps I've taken.

I'm stumped.

I've checked all the ".Config" files and verified that "runtime" is set
to 1.1.4322 (for Visual Studio and all related tools, and MS Office -
this is an add-in project)

===================================

Error during build:

------ Starting pre-build validation for project 'mycodeSetup' ------
WARNING: Unable to find dependency 'mscorlib'
(Signature='B77A5C561934E089' Version='1.0.3300.0') of assembly
'Extensibility.dll'
WARNING: Unable to find dependency 'mscorlib'
(Signature='B77A5C561934E089' Version='1.0.3300.0') of assembly
'stdole.dll

================================
I assumed my debugger problems are related to the missing dependency.
So I checked all my references. I looked at MSCorlib in the References
list for my VS Project and discovered that the version my reference
calls for is 1.0.5000.0 The text from VStudio reference tab for
mscorlib is below:
================================

Visual Studio 2002
>From Project References/Properties for MSCORLIB

 (Name)                                                     mscorlib
  Copy Local                                                 False
  Culture

  Description                                                Common
Language Runtime Library
  Identity                                                   mscorlib
  Path
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorlib.dll
  Strong Name
                                                             True
  Type                                                       Assembly
  Version
1.0.5000.0

===================================

However, the file in the framework directory is version  1.1.4322.2032.
So it appears to be a disconnect. Below is the info on the file in the
1.1 framework directory:

===================================

File in directory C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\

Name  5                                          Size  Type
       Date Modified           Product Version

mscorlib.dll                             2,088 KB   Application
Extension   7/15/2004 2:29 PM       1.1.4322.2032
mscorlib.ldo                                11 KB   LDO File
    7/15/2004 12:14 AM
mscorlib.tlb                               460 KB   TLB File
    7/14/2004 11:45 PM      1.1.4322.2032

===================================

In VStudio, I removed the reference, then re-added them. This did not
change anything.

Now I'm suspicious that a pointer (perhaps in the registry?) is set up
wrong.

So I started searching the registry for any reference to mscorlib and
found things like this:
====================================
Name                               Type                    Data
   (Default)                       REG_SZ                  mscoree.dll

   Assembly                        REG_SZ                  mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
   Class                           REG_SZ
System.Security.Cryptography.HMACSHA1
   RuntimeVersion                  REG_SZ                  v1.1.4322
   ThreadingModel                  REG_SZ                  Both
=====================================
There are a ton of these types of entries in the registry
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\...
The line starting with "ASSEMBLY" points out something but is it
strange? I don't know.
It appears that every tim mscorlib is referred to as an assembly,
version 1.0.5000.0 is the target.

I'm thinking I want to change this to 1.1.4322.2032 but that is some
serious registry work. and the the risk of damage seem quit likely and
quite severe...

Any help is greatly appreciated.

Thanks,
Mark Durrenberger
durrenm@yahoo.com - 10 May 2006 16:52 GMT
The 1.0.5000.0 and 1.1.4322.2032 refer to different things. 1.0.5 is
the assembly number. 1.1.4322 is the win32 version. SO that is a red
herring - don't chase it. And No I won't go and change all my registry
entries.

In fact, I haven't a clue what to do next...
durrenm@yahoo.com - 10 May 2006 17:55 GMT
More info:
I built a generic (using the wizard) add-in It has the same
"extensibility" reference as above, however I do not receive the build
warning regarding mscorlib/extensibility.dll

Very strange.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.