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
|