Cannot declare a namespace and a type both named 'a'

Cannot declare a namespace and a type both named 'a'

Postby Tobi » Wed 15 Mar 2006 13:22

If I add the DB2 dll and your dll to one single project, I get the errormessage "Cannot declare a namespace and a type both named 'a'"

Could you try to make sure that the dotfuscater or similar tool is not creating such a type or namespace ?

Thank you,

Tobi
Tobi
 

Postby Paul » Wed 15 Mar 2006 16:18

OraDirect .NET does not have namespace or class named 'a'. All namespaces begin with CoreLab prefix in dotfuscated assemblies.
Paul
 
Posts: 725
Joined: Thu 28 Oct 2004 14:06

open it with the reflector

Postby Tobi » Wed 15 Mar 2006 16:35

If you open your dll in the reflector, you can see, that there are namespaces called "a.a" "a.b" "a.c" and so on.
The reason is not your source itself. It usually happens later, when your dll is created via dotfuscation.
Please try to make sure to use the flag "keep namespaces" there.
Thank you.
Tobi
 

Postby Paul » Thu 16 Mar 2006 07:35

We reproduced your problem and fixed it. This fix will be included in the next OraDirect .NET build.
Paul
 
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Postby schueler » Mon 27 Mar 2006 11:32

When will the version 3.20.9 be available for download ?
schueler
 
Posts: 17
Joined: Tue 17 May 2005 15:44
Location: Germany

Postby Alexey » Tue 28 Mar 2006 14:27

The problem is fixed in OraDirect .NET 3.50 that will be available by the end of the week (beta or release).
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for Oracle