B
bhattpiyush
Hi All,
I have a class Transaction in 2 different assemblies having different
namespaces totally.
I have an ASP.Net(1.1) page. In the codebehind .cs file I
references/imports one of those assemblies in using statement and use
the class from that assembly.
However this page gives compilation error as it automatically gets the
definition of this class from the other assembly which is different.
I am not referring to that assemly in any way.
I am using .Net framework 1.1
Why does the framework not use the assembly specified in the codebehind
file and associate the class with the other assembly? It even does not
give a 'Class defined in multiple places' error. Also the namespaces
are entirely different
Piyush
I have a class Transaction in 2 different assemblies having different
namespaces totally.
I have an ASP.Net(1.1) page. In the codebehind .cs file I
references/imports one of those assemblies in using statement and use
the class from that assembly.
However this page gives compilation error as it automatically gets the
definition of this class from the other assembly which is different.
I am not referring to that assemly in any way.
I am using .Net framework 1.1
Why does the framework not use the assembly specified in the codebehind
file and associate the class with the other assembly? It even does not
give a 'Class defined in multiple places' error. Also the namespaces
are entirely different
Piyush