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

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Tobi

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

Post by 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

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by 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.

Tobi

open it with the reflector

Post by 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.

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by 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.

schueler
Posts: 17
Joined: Tue 17 May 2005 15:44
Location: Germany
Contact:

Post by schueler » Mon 27 Mar 2006 11:32

When will the version 3.20.9 be available for download ?

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by 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).

Post Reply