G
Guest
I have wrapped up an unmanaged dll with the System.Runtime.InteropServices
using [DllImport], etc., and turned it to an assembly dll to be used in C#.
It has been well-tested in a Windows Form application. It works fine there.
However, when I try to call this same dll in a ASP.Net code behind
environment, it gives me the following error:
The type or namespace name 'ZZZ' could not be found (are you missing a using
directive or an assembly reference?)
I have "Add Reference" to this dll and I have checked the path and file,
access right, etc., and I cound not find any settings that are not correct.
But the error persists and the web page does not compile.
Any one knows if there is special setting I need to be aware of to add a
custom-made dll to work with an ASP.Net page?
Thanks!
Jack
using [DllImport], etc., and turned it to an assembly dll to be used in C#.
It has been well-tested in a Windows Form application. It works fine there.
However, when I try to call this same dll in a ASP.Net code behind
environment, it gives me the following error:
The type or namespace name 'ZZZ' could not be found (are you missing a using
directive or an assembly reference?)
I have "Add Reference" to this dll and I have checked the path and file,
access right, etc., and I cound not find any settings that are not correct.
But the error persists and the web page does not compile.
Any one knows if there is special setting I need to be aware of to add a
custom-made dll to work with an ASP.Net page?
Thanks!
Jack