R
Roger R. Smith
I need some help.
I generated an enum using EnumBuilder and created an assembly called
EnumAssembly.dll into the bin directory of my web service. I not creating
this enum while running the web service, I created it before I called the
web service.
I then use this enum from the web service as a input to to [webmethod].
I am getting the error FileNotFoundException: File or assembly name
<random.dll>, or one of its dependencies, was not found.
However if I create an enum in Visual Studio and manually put in the enum
values and place this dll into my web service bin dir and then use this data
type as my input, things work fine.
I am not creating the enum at runtime in the web service, I create it
beforehand and import it into my web service, but when I try to invoke any
operation on my web service I get that error.
I am using C#.
Any ideas?
Thank you very much.
I generated an enum using EnumBuilder and created an assembly called
EnumAssembly.dll into the bin directory of my web service. I not creating
this enum while running the web service, I created it before I called the
web service.
I then use this enum from the web service as a input to to [webmethod].
I am getting the error FileNotFoundException: File or assembly name
<random.dll>, or one of its dependencies, was not found.
However if I create an enum in Visual Studio and manually put in the enum
values and place this dll into my web service bin dir and then use this data
type as my input, things work fine.
I am not creating the enum at runtime in the web service, I create it
beforehand and import it into my web service, but when I try to invoke any
operation on my web service I get that error.
I am using C#.
Any ideas?
Thank you very much.