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

How to set the "/lib" compiler option for a GAC only dll.

Hi,
How to set the "/lib" compiler option if the assembly is only there in
the GAC.

Any help is highly appreciated!!

Regards
Nov 16 '05 #1
2 1482
> How to set the "/lib" compiler option if the assembly is only there in
the GAC.


The GAC is not used for development. It is used for deployment. You need the
assembly -- is there some reason why you don't have access to it?

--
Mickey Williams
Author, "Visual C# .NET Core Ref", MS Press
www.neudesic.com
www.servergeek.com
Nov 16 '05 #2
The reason i dont have access to it is because during installation of the
product it installs the dll only to the GAC and nowhere else and i need to
add reference to it to develop my code..
As far as i know the GAC is just another folder structure where dlls are
stored then why am i not able to add it to my "/lib" and use it why is a
second copy of the dll again needed in the machine???

I do understand GAC is for deployment but as far a dll is present in the
machine i should be able to add reference to it?
Can anyone tell me why is this not possible ?what is that which prohibits ??

Any help is highly appreciated!!
Rgds

"Mickey Williams [C# MVP]" <my first name at servergeek dot com> wrote in
message news:%2******************@TK2MSFTNGP10.phx.gbl...
How to set the "/lib" compiler option if the assembly is only there in the GAC.
The GAC is not used for development. It is used for deployment. You need

the assembly -- is there some reason why you don't have access to it?

--
Mickey Williams
Author, "Visual C# .NET Core Ref", MS Press
www.neudesic.com
www.servergeek.com

Nov 16 '05 #3

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

Similar topics

3
by: Bengt Richter | last post by:
What am I missing? (this is from 2.4b1, so probably it has been fixed?) def flatten(list): l = for elt in list: ^^^^--must be expecting list instance or other sequence t = type(elt) if t...
2
by: Kit Ewbank | last post by:
I'm trying to reference an assembly in a directory which has a space in its name. When I use the VS.NET 2003 csc's /lib option with quotes around the directory name (e.g. /reference:Fred.dll...
1
by: nassar | last post by:
i'm trying to build the project of the MFC's sample "VCTERM", and this error message appears: LINK : fatal error LNK1104: cannot open file "mfc42u.lib" can you please tell me where i can find...
1
by: jingkun Hu via .NET 247 | last post by:
(Type your message here) I'm upgrading a VC++ 6 project to VC.NET 2003. The compiling isOK but not linking. The error message is "mfc42.lib cannot beopened". I looked through every setting of...
1
by: Hunter | last post by:
Hi all, I'm a C newbie in a desperate need of help. My background isn't programming but engineering, so my programming skills are somewhat limited (I am able to write simple single-threaded...
2
by: Hunter | last post by:
Hi all, I'm a C newbie in a desperate need of help. My background isn't programming but engineering, so my programming skills are somewhat limited (I am able to write simple single-threaded...
1
by: bhushan11 | last post by:
hello sir i am searching in your site but i dont get how to place question about visual c++. so i am post this vc++ question in .net , sorre about that i am working on visual c++ lang. but i...
1
by: vikky | last post by:
Hi, I have natively compiled ".lib" file which I need to use in managed code. After some searching, I got to know that C++.NET 2005 through its C++/CLI can directly make use of native...
1
by: akansha1234 | last post by:
Hi all, I am facing this problem. When i am building my workspace in eclipse i am getting following exception its very urgent.. 0000004c SystemErr R *** ERROR ***: Fri Sep 12 03:53:38 CDT...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.