I am trying to create a shared dll which can be used for error reporting on each site i am running.
I have created a keypair (sn.exe) and built my code within a namespace (including the key) This verifies ok (with -v flag)
Using gacutil on the server, i have 'installed' the dll to c:\winnt\assembly.
I then updated the machine.config file to include assembly reference to the version, pub key & dll name
Finally i have imported the new namespace into my global.asax file.
During compilation of the page the dll is compiled ok (/R:"c:\winnt\assembly\gac\errorlogger\1.0.1.0__536e45393d6c8605\errorlogger.dll")
However i still get the error:
global.asax(37) : error BC30002: Type 'logClass' is not defined.
Dim vl_logger As logClass
My code begins:
NameSpace errorLogger
Public Class logClass
...
Have i assembled the code incorrectly, or configured the server wrong?
Many thanks in advance if anyone can help out!
I have created a keypair (sn.exe) and built my code within a namespace (including the key) This verifies ok (with -v flag)
Using gacutil on the server, i have 'installed' the dll to c:\winnt\assembly.
I then updated the machine.config file to include assembly reference to the version, pub key & dll name
Finally i have imported the new namespace into my global.asax file.
During compilation of the page the dll is compiled ok (/R:"c:\winnt\assembly\gac\errorlogger\1.0.1.0__536e45393d6c8605\errorlogger.dll")
However i still get the error:
global.asax(37) : error BC30002: Type 'logClass' is not defined.
Dim vl_logger As logClass
My code begins:
NameSpace errorLogger
Public Class logClass
...
Have i assembled the code incorrectly, or configured the server wrong?
Many thanks in advance if anyone can help out!