Shared Assembly
-
How do I add a reference to an assembly that is in the GAC (C:\Windows\Assembly) folder? The problem is that I use a third party dll that is register in GAC but not available elsewhere in my hard drive. So I have to use the copy in the GAC folder. Any suggestions would be appreciated.:confused: Thanks, Sandeep.
-
How do I add a reference to an assembly that is in the GAC (C:\Windows\Assembly) folder? The problem is that I use a third party dll that is register in GAC but not available elsewhere in my hard drive. So I have to use the copy in the GAC folder. Any suggestions would be appreciated.:confused: Thanks, Sandeep.
If it's registered in the GAC, I believe you have to use that assembly. Trying to use a non-GAC registered copy caused an error.
-
If it's registered in the GAC, I believe you have to use that assembly. Trying to use a non-GAC registered copy caused an error.
-
In Visual Studio you mean? Right click the references folder in the Solution. Click Add Reference... in the .NET* Tab you will find the assembly. * I think... I don't have visual studio open right now.
My: Blog | Photos "Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucious
-
In Visual Studio you mean? Right click the references folder in the Solution. Click Add Reference... in the .NET* Tab you will find the assembly. * I think... I don't have visual studio open right now.
My: Blog | Photos "Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucious
-
Yes, but the assembly is in GAC and I cannot browse to the dlls in GAC folder (C:\windows\assembly). I do not have any copy of the dll in my drive..:doh: Hope you understood my problem.
-
I have an assembly in the GAC folder which I cannot see in Visual Studio .Net tab for Add Reference. If you observe, the path of the assemblies in the .Net tab will never be the GAC folder. For system assemblies, it is C:\Windows\Micorsoft.Net\Framework\v1.4.3222\System.dll. That means there are two copies. One is a copy of the assembly in windows directory which is being referenced and the other is one in the GAC folder. Now I do not have such copy in my drive other than the one in the GAC folder. All i have is the dll in the GAC folder. Is there an alternative or a procedure that can show all the assemblies in .Net tab from the GAC folder? I have a third party dll that is installed in GAC and i need it for my application. I do not have access to the dlls directly at all.
-
I have an assembly in the GAC folder which I cannot see in Visual Studio .Net tab for Add Reference. If you observe, the path of the assemblies in the .Net tab will never be the GAC folder. For system assemblies, it is C:\Windows\Micorsoft.Net\Framework\v1.4.3222\System.dll. That means there are two copies. One is a copy of the assembly in windows directory which is being referenced and the other is one in the GAC folder. Now I do not have such copy in my drive other than the one in the GAC folder. All i have is the dll in the GAC folder. Is there an alternative or a procedure that can show all the assemblies in .Net tab from the GAC folder? I have a third party dll that is installed in GAC and i need it for my application. I do not have access to the dlls directly at all.
gacutil /l will tell you what is registered in the GAC. You can also reinstall assemblies using this utility.
-
How do I add a reference to an assembly that is in the GAC (C:\Windows\Assembly) folder? The problem is that I use a third party dll that is register in GAC but not available elsewhere in my hard drive. So I have to use the copy in the GAC folder. Any suggestions would be appreciated.:confused: Thanks, Sandeep.
I had a similar problem with NUnit I think. After looking the responses, I'm not sure if you can 'copy' a dll out of the GAC, from a security point of view I would say no, but I could be wrong. xacc.ide-0.1-rc1 released! Download and screenshots