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

Problem accessing shared assembly in GAC

I have created a shared assembly (ctrl1.dll) with a strong name and added it
to the GAC on a development webserver, devweb, and it's dependent dll
(dep1.dll) which has also been added to the GAC . I located the dlls on the
C: drive on devweb (C:\Program Files\Common Files\MyAssemblies).

I'm developing on a different machine, mydev. My project is located on the
webserver, devweb. So I do a File/Open/Project from web to open my web
project. I have also added the shared assemblies to the GAC on mydev
pointing to the same location on the C drive of mydev (C:\Program
Files\Common Files\MyAssemblies) and added the path to the registry key on
mydev so that I can see it in my listbox of references.
(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramewo rk\AssemblyFolders)

I added a reference to ctrl1.dll initially and set Copy Local = True and
everything worked fine. When I set this to false it doesn't find the
ctrl1.dll. It should find it in the GAC is what I'm thinking, but it
doesn't. I'd prefer to not have to include this dll in every applications
bin directory, that's why I want to use the GAC.

Please help.

Thanks,

John Holmes
Skagit County
Nov 18 '05 #1
0 1105

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

Similar topics

1
by: Sampat Dixit | last post by:
Hi I am building a .NET Windows application using C#. In my application I am referring to shared library which updates very often(only revision change). Now I want my executable to load latest...
1
by: David K. | last post by:
I am using Visual Studio .NET 2003 under Windows XP Pro. I had created a shared assembly and assigned it a Strong Name. I have installed the assembly in the GAC (c:\WINDOWS\assembly) with the .NET...
9
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...
3
by: C-Services Holland b.v. | last post by:
Hi all, I've created a custom button which I can stick into my toolbox. This all works well and I see my button in the designer. This button uses customised graphics and I want to stick it in...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.