473,948 Members | 15,795 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Installing shared assembly into the GAC

Dan
Hi

when installing a shared assembly into the GAC, do I have to check whether
the GAC already have the assembly with the same strong
name(name,versi on,publickeytok en and culture) before installing it using
gacutil.exe? when there is another copy already installed do I need to take
special steps to quit the installation process.

Is this check necessary? or the gacutil.exe or the GAC will handle this
scenario automatically and will not install multiple copies of the same
assembly (with the same string name)?

regards
dan
Jul 21 '05 #1
1 1544
Hi Dan,

IMO GAC will handle it since there can't be two identical assemblies
registered.

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com

"Dan" <bi*******@yaho o.com.sg> wrote in message
news:uy******** ******@tk2msftn gp13.phx.gbl...
Hi

when installing a shared assembly into the GAC, do I have to check whether
the GAC already have the assembly with the same strong
name(name,versi on,publickeytok en and culture) before installing it using
gacutil.exe? when there is another copy already installed do I need to take special steps to quit the installation process.

Is this check necessary? or the gacutil.exe or the GAC will handle this
scenario automatically and will not install multiple copies of the same
assembly (with the same string name)?

regards
dan

Jul 21 '05 #2

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

Similar topics

2
2922
by: Dennis Hore | last post by:
I'm trying to install Nick Patavalis' ppgplot package on Mac OS X 10.3 with python 2.3. I first sent this message to Nick, but he said he doesn't have any experience with the Mac platform. after installing using python setup.py install (using Numeric; no error messages), and then in python trying >>> import ppgplot i get:
2
15253
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000 Personal disk from the SQL Server 2000 Enterprise kit as this is reported here on the MSDN web site to be the version that is supported on Windows XP. In fact so many of you kind people confess to having succeeded in doing it. I have tried...
1
2427
by: ncsuwolf | last post by:
I have read everything I can find, I think, and I am still having problems getting assemblies I installed to the GAC to show up when I try to reference them in an application. I first assigned a Strong Name, to the Assembly and then installed it to the GAC. Everything was successful, except for when I go to add a reference. I cannot see the Assembly(dll) under the .NET or the COM tabs. What am I missing that will alow me to deploy my...
3
1902
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?
9
4191
by: Invalidlastname | last post by:
Hi, We developed some assemblies which use EnterpriseServices queued components. In order to use EnterpriseServices, these assemblies need to be installed into GAC. I used the pre-build and post-build events to automate GAC installation processes and the asp.net application has "copy to local" set to false for the references of these shared assemblies. However, every time we made the changes to the shared assemblies, we had to restart...
11
5805
by: tshad | last post by:
I have a small Windows Service program that just has a timer on it and it built fine. I try to install it using InstallUtil and I get the following message: System.ComponentModel.Win32Exception: The account name is invalid or does not exist, or the password is invalid for the account name specified I am in the same folder my program is in (MyService.exe). I assume it has to do with Logon Credentials.
1
307
by: Dan | last post by:
Hi when installing a shared assembly into the GAC, do I have to check whether the GAC already have the assembly with the same strong name(name,version,publickeytoken and culture) before installing it using gacutil.exe? when there is another copy already installed do I need to take special steps to quit the installation process. Is this check necessary? or the gacutil.exe or the GAC will handle this scenario automatically and will not...
2
1679
by: Dylan Parry | last post by:
Hi folks, I've written an application that (in a very cut down form) looks like this: namespace Opus2.Page { public class Admin : System.Web.UI.Page { public void Page_Load(object sender, EventArgs e) { ... }
2
2163
by: Tony Johansson | last post by:
Hello! In directory c:\window\assembly(GAC) can you find a lot of global assembly names which is called shared assemblies. If I for example use ILDASM on a file called Accessibility which is a dll that exist in the c:\window\assembly(GAC) nothing happen why? You can use ILDASM on any private assembly but it seems to be impossible on
0
10164
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
9986
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11577
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...
0
11174
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11352
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,...
1
8256
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7431
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
6118
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...
3
3544
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.