L
Lubomir
Hi,
I have an enum definition:
namespace MyNamespaceA
{
public enum MyEnum { ...};
....
}
In another file I have a class:
namespace MyNamespaceA
{
public partial class MyClass : MasterPage
{
protected void Method()
{
MyEnum xx = ....;
}
}
}
When I build it, it is OK. Visual studio recognizes the enum type and offers
intelisense for it.
Whe I run this project in debugger (not using IIS) I get compilation error:
"An error occured during the compilation of a resource required to service
this request. ... CS0103: The name MyEnum does not exists in the current
context."
Why is that? Everything is compiled into one dll.
Thanks,
Lubomir
I have an enum definition:
namespace MyNamespaceA
{
public enum MyEnum { ...};
....
}
In another file I have a class:
namespace MyNamespaceA
{
public partial class MyClass : MasterPage
{
protected void Method()
{
MyEnum xx = ....;
}
}
}
When I build it, it is OK. Visual studio recognizes the enum type and offers
intelisense for it.
Whe I run this project in debugger (not using IIS) I get compilation error:
"An error occured during the compilation of a resource required to service
this request. ... CS0103: The name MyEnum does not exists in the current
context."
Why is that? Everything is compiled into one dll.
Thanks,
Lubomir