A
Abe Simpson
Hi all,
I wrote an object in C# to be used from ASP.NET applications. The namespace
the object resides in is "AcmeSoft.MyObj". The assembly name is
AcmeSoft.MyObj.dll.
Now, then I put the assembly in the \Bin directory of my application and
invoke it with
<%@ Import Namespace="AcmeSoft.MyObj" %>
it works just fine.
I want to be able to put the assembly in the GAC too. I did make it strongly
named (key pair and all.) I could not for some reason drag/drop the DLL to
the GAC but I could put it there via GACUTIL /i command. However, now the
Import statement generates the error
CS0246: The type or namespace name 'AcmeSoft' could not be found (are you
missing a using directive or an assembly reference?) But AcmeSoft.MyObj is
clearly in the GAC!
Can someone shed some light?
Thanks.
-- Abe
I wrote an object in C# to be used from ASP.NET applications. The namespace
the object resides in is "AcmeSoft.MyObj". The assembly name is
AcmeSoft.MyObj.dll.
Now, then I put the assembly in the \Bin directory of my application and
invoke it with
<%@ Import Namespace="AcmeSoft.MyObj" %>
it works just fine.
I want to be able to put the assembly in the GAC too. I did make it strongly
named (key pair and all.) I could not for some reason drag/drop the DLL to
the GAC but I could put it there via GACUTIL /i command. However, now the
Import statement generates the error
CS0246: The type or namespace name 'AcmeSoft' could not be found (are you
missing a using directive or an assembly reference?) But AcmeSoft.MyObj is
clearly in the GAC!
Can someone shed some light?
Thanks.
-- Abe