Page 1 of 1
Cannot declare a namespace and a type both named 'a'
Posted: Wed 15 Mar 2006 13:22
by Tobi
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
Posted: Wed 15 Mar 2006 16:18
by Paul
OraDirect .NET does not have namespace or class named 'a'. All namespaces begin with CoreLab prefix in dotfuscated assemblies.
open it with the reflector
Posted: Wed 15 Mar 2006 16:35
by Tobi
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.
Posted: Thu 16 Mar 2006 07:35
by Paul
We reproduced your problem and fixed it. This fix will be included in the next OraDirect .NET build.
Posted: Mon 27 Mar 2006 11:32
by schueler
When will the version 3.20.9 be available for download ?
Posted: Tue 28 Mar 2006 14:27
by Alexey
The problem is fixed in OraDirect .NET 3.50 that will be available by the end of the week (beta or release).