473,385 Members | 1,400 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.

GAC - Library - Web Projects

We are looking at building a library that contains classes that the
developers can access across the enterprise (mostly web). I looked at
installing the library in the GAC and was able to do so relatively easily.
The problem I have is I don't know how to reference it in my project now
that it's in the GAC. I only found one note on the internet that makes me
think that we should develop projects that use the assembly (not in GAC) and
when we put it in production .Net looks for the assembly in the GAC and if
it finds one with the same signature it uses it. Is this right?

Thanks for your help!
Nov 16 '05 #1
2 1399
hi
if you are using VS.NET you can add reference to the assembly in GAC by
right clicking the Refrences in the solution explorer of your project .
regards
Anzil

"news.bellatlantic.net" wrote:
We are looking at building a library that contains classes that the
developers can access across the enterprise (mostly web). I looked at
installing the library in the GAC and was able to do so relatively easily.
The problem I have is I don't know how to reference it in my project now
that it's in the GAC. I only found one note on the internet that makes me
think that we should develop projects that use the assembly (not in GAC) and
when we put it in production .Net looks for the assembly in the GAC and if
it finds one with the same signature it uses it. Is this right?

Thanks for your help!

Nov 16 '05 #2
I would normally make a reference this way for private assemblies.Where will
I find the assembly in the GAC? I can't see DLL's in the GAC. Thanks for
your help.

"Ansil MCAD" <An*******@discussions.microsoft.com> wrote in message
news:46**********************************@microsof t.com...
hi
if you are using VS.NET you can add reference to the assembly in GAC by
right clicking the Refrences in the solution explorer of your project .
regards
Anzil

"news.bellatlantic.net" wrote:
We are looking at building a library that contains classes that the
developers can access across the enterprise (mostly web). I looked at
installing the library in the GAC and was able to do so relatively easily. The problem I have is I don't know how to reference it in my project now
that it's in the GAC. I only found one note on the internet that makes me think that we should develop projects that use the assembly (not in GAC) and when we put it in production .Net looks for the assembly in the GAC and if it finds one with the same signature it uses it. Is this right?

Thanks for your help!

Nov 16 '05 #3

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

Similar topics

1
by: Player | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello all I am using VS.NET 2003. What I am doing apart from teaching myself C# is learning my way round V.NET2003 also.
0
by: Rudy Ray Moore | last post by:
Each project in a VC7.1/2003/.net workspace must have a "Configuration Type." There are four options: Application (.exe) Dynamic Library (.dll) Static Library (.lib) Utility What is...
4
by: Brian Shannon | last post by:
I am playing around with class libraries trying to understand how they work. I created a class library, library.vb. I placed the library.dll into the bin directory and set my reference. If I...
7
by: rockdale | last post by:
hi, I just downloaded Microsoft Enterprise Library Jan 2006 and try to integrate it into my asp.net application. As i am going to connect to mySQL database, I need to include the source code in my...
6
by: =?Utf-8?B?WW9naSBXYXRjaGVy?= | last post by:
Hello, I am using Visual Studio-2003. I created a project to build my library. Since I am using third party libraries as well, I have specified those additional library dependencies in project...
1
by: =?Utf-8?B?d2lubGlu?= | last post by:
Hello Using VS 2005 VB.net when a class library gets created you can right click the project and add a Windows Application and then set it as the "startup project" then in the Windows...
1
by: info | last post by:
For fingerprint images WSQ (Wavelet Scalar Quantization) is superior to other lossy compression methods, such as JPEG, and was chosen by FBI (U.S. Federal Bureau of Investigation) as the...
3
by: Med | last post by:
Hi, I use Visual C# Express 2005 and Visual Web Developer Express 2005. In my Visual C# Express 2005 Solution, I have following two class library projects: _ DataAccess (Namespace name:...
6
by: Curious | last post by:
I was asked to create a C#.NET Console Library project that contains two sub-libraries. And each sub-library contains multiple utilties. As an experiment, I've created a Console Library project...
2
Fr33dan
by: Fr33dan | last post by:
Hi, I have a currently have 2 C# projects that won't work together the way I want them to. One project is a library I've written and the other project is a application that uses it. In the future I...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.