Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 6th, 2006, 05:03 AM
Authorized User
 
Join Date: Apr 2006
Location: Horsens, , Denmark.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default GAC trouble

Hi

I am trying to register a .net 2.0 dll into the GAC in Visual Studio 2005 pro.

I have your book "Proffessional C# 2005" and on page 446 in the Assemblies chapter, you are using gacutil to install a dll into GAC. But gacutil is a .net 1.1 tool is it not?

Anyway, I have gacutil lying in the C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 folder, and I try to use that in a Post build event on my project output like this (I have a PATH variabel for gacutil and it is strong named):

gacutil /i $(TargetPath)

but it returns an error 1.

If i try it from a command prompt it just says:
"Failure adding assembly to the cache: Unknown Error"

What can be wrong here?
Is it all possible to use gacutil on a .net 2.0 dll?

TIA
-spif2001

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Read GAC lovesyogi C# 2 February 1st, 2007 06:20 AM
Installing non-assembly files in the GAC eadred .NET Framework 1.x 0 April 28th, 2006 09:12 AM
Web.Config read from the GAC nzwy1p .NET Web Services 1 October 14th, 2003 08:39 AM
How to refer assemblies which are in GAC ? kishore_peddi C# 0 October 12th, 2003 09:09 AM
Problems with GAC briggsa VS.NET 2002/2003 0 July 17th, 2003 07:32 AM



All times are GMT -4. The time now is 02:14 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.