473,804 Members | 3,804 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

About private and shared assembly

Hello!

If I select a private assembly in ILDASM I get a lot of information listed
but if I select a shared assembly located at c:\window\assem bly(GAC) I
get nothing listed.
So is this normal not seeing anything when using ILDASM on any
shared assembly located in the GAC.

Now to my second question:
If I create a shared assembly from a private assembly and then use
properties on this it shows for example the
codeBase:file:///C:/TEST_DLL/ClassLibrary3/bin/Release/classlibrary3.d ll
but If I for example use properties on the Accessibility located in the
GAC this codeBase shows nothing why?

I mean the path to the actual Accessibility.d ll should be displayed in the
codeBase when using the properties.

//Tony



Aug 23 '06 #1
1 3694
Tony,
I think this was recently covered in this group. basically, the view you see
of the GAC (/assembly) folder is a custom shell folder extension view, you
cannot actually load the physical assembly or add a reference from there.

This little writeup I did may help:

http://www.eggheadcafe.com/PrintSear...sp?LINKID=1175

Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Tony Johansson" wrote:
Hello!

If I select a private assembly in ILDASM I get a lot of information listed
but if I select a shared assembly located at c:\window\assem bly(GAC) I
get nothing listed.
So is this normal not seeing anything when using ILDASM on any
shared assembly located in the GAC.

Now to my second question:
If I create a shared assembly from a private assembly and then use
properties on this it shows for example the
codeBase:file:///C:/TEST_DLL/ClassLibrary3/bin/Release/classlibrary3.d ll
but If I for example use properties on the Accessibility located in the
GAC this codeBase shows nothing why?

I mean the path to the actual Accessibility.d ll should be displayed in the
codeBase when using the properties.

//Tony

Aug 23 '06 #2

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

Similar topics

3
1893
by: Bill | last post by:
I created a shared assemble and dropped it into Windows\assembly. Browsing this directory shows that it is in there and the properties looks as expected. However, when I attempt to add this as a reference in the IDE, the name is not showing. Am I missing something?
1
1672
by: Dan | last post by:
Here's a scenario I'd like to discuss in order to setup my VS.NET IDE properly and be able to prepare a distribution: a) I have a windows forms C# app using 3 shared assemblies I developed to include various functions. The 3 shared assemblies are strongly named, and some of them are also used by others of them. Let's call them A, B, and C: now, B references A, while C references A and B. b) there is a distinct solution for each of the...
2
265
by: julien | last post by:
Hello, I read several articles about the GAC. Here is my understanding The GAC has 2 main purposes: a/ avoid having the same shared dll loaded several times by different programs b/ several versions of a dll can run in parallel. It is also easy to update the version of a dll in a GAC without rebuilding the applications that depend on it
4
2475
by: spamfurnace | last post by:
Hi there. Ive just been reading about the Whidbey Provider Pattern on MSDN, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspnet/html/asp02182004.asp and i wanted to clarify my understanding of it and get some implementation feedback. Im a bit unsure so please correct me. What Im Doing
4
3364
by: Rubbrecht Philippe | last post by:
Hi there, I would like to develop an interface that when implemented in a class requires a number of shared properties or methods to be available. It seems a Shared Member can not be used as interface member implementation?! Is there a workaround to this problem?! Best regards, Philippe Rubbrecht
6
2594
by: Sathyaish | last post by:
Where is the private key to an assembly stored? The public key is stored in the manifest. All clients that reference the shared assembly, when compiled, store the public key _token_ into their manifests along with a hash value for the referenced assemblies. However, the private key is not distributed. From what I've read, it still remains with the author on his machine in the .snk file generated by the sn utility.
0
1972
by: chandrasekhar | last post by:
how can i make private asembly to shared assembly , i want some code snippet on this , if any body can have it please send me , with related site id , so that i can reffer it,
6
2144
by: yxq | last post by:
Hello, The File.Delete(VS2005) function can not delete file on Vista-64bit, why? And, what changes of API between 32-bit and 64-bit? Thank you
0
1562
by: brianbass | last post by:
I am having a perplexing issue and am wondering if anyone can see the flaw in my setup. I have 3 windows services and 3 message queues. Each service resides in the same directory and they all have a reference to the same dll(a private assembly (although it does have a strong key)). The class in this assembly takes the name of the message queue to monitor in its constructor. Then the instantiated class constantly reads the queue (MSMQ...
0
9705
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10567
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, 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...
1
10310
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10074
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6847
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();...
0
5515
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4291
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
2
3809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2983
bsmnconsultancy
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...

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.