At home I use C# when coding but at work I have to use VB.NET and i have ran into a snag when converting some code.
I use the following namespace aliases in C#
using AcRx = Autodesk.AutoCAD.Runtime;
using AcAp = Autodesk.AutoCAD.ApplicationServices;
using AcDb = Autodesk.AutoCAD.DatabaseServices;
using AcGe = Autodesk.AutoCAD.Geometry;
And when I create the same namespaces alias in vb.net
Imports AcRx = Autodesk.AutoCAD.Runtime
Imports AcAp = Autodesk.AutoCAD.ApplicationServices
Imports AcDb = Autodesk.AutoCAD.DatabaseServices
Imports AcGe = Autodesk.AutoCAD.Geometry
I get the error
Imports alias 'AcXX' conflicts with 'AcXX' declared in the root namespace. So then of course if i remove the alias and try to just use 'AcXX' I get
'AcXX' is not accessible in this context because it is 'Friend'Is there anyway around this
WITHOUT changing my namespace Alias abbreviations?