Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / April 2004

Tip: Looking for answers? Try searching our database.

Deploy Assembly in GAC

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
zeplynne - 08 Apr 2004 12:28 GMT
There are several ways to deploy an assembly into the global assembly
cache:

1) Use an installer designed to work with the global assembly cache.
This
is the preferred option for installing assemblies into the global
assembly
cache.

2) Use a developer tool called the Global Assembly Cache tool
(Gacutil.exe)
provided by the .NET Framework SDK.

3) Use Windows Explorer to drag and drop assemblies into the cache.

*My question:
I know Installshield can register assemblies in the GAC, but that's
not an option.  Can't seem to get VS .NET Install Project to do it
though.  Is it possible to write an install project in VS .NET 2003 to
register a public strong-named assembly in the GAC?  Any help or
insight would be greatly appreciated.

SMW
Zeplynne - 12 Apr 2004 13:06 GMT
Here's some more information.

This Dll exposes COM interfaces. It is primarily used for unmanaged sources to leverage, such as ASP applications. Running Regasm on the DLL is exactly what I was looking in how to do in .NET installation project.  Unfortunately, I tried that (vsdraCOM) with no luck.  Everything seems fine, its in the GAC, Orca looks good with reg entries, but when I call the dll from an unmanaged source, like ASP, I still get the following error
HTTP 500.100 - Internal Server Error - ASP erro
Internet Information Service
Technical Information (for support personnel
Error Type
(0x80070002

If I run regasm and gacutil on the dll from the command line however, everything works as expected

Confused!
Andrew Gilmore - 12 Apr 2004 22:35 GMT
On the file system window of your installer project select add special
folder.  Select GAC.  Then you can add you file to the folder.  It will need
to be signed, and any of your assemblies that it references will also need
to be signed and put ito the GAC
> There are several ways to deploy an assembly into the global assembly
> cache:
[quoted text clipped - 19 lines]
>
> SMW

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.