It may have something to do with your project, because
I can't repro that in C#.
AcDb is a native struct that's defined at the module-level
but it has internal scope, so it should not be visible to your
code.
Are you by chance using the Autodesk wizard?
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010
http://www.acadxtabs.com
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");
wrote in message news:6257888@discussion.autodesk.com...
After upgrading to the 2010 libraries, using the following code:
{code}Imports AcDb = Autodesk.AutoCAD.DatabaseServices{code}
Generates the following compiler error:
{code}Imports alias 'AcDb' conflicts with 'Structure AcDb' declared in the
root namespace.{code}
I did not have this problem when referencing the old libraries (2008/R17.1).
I'm currently using the alias AcDb2, which works - although I would prefer
to use something more consistent with Autodesk's naming convention.
Could someone confirm that this is an issue, and if so, if anyone here found
a way around it, aside from using an alternate alias?
Regards,
JB