AutoCAD Civil 3D Customization

AutoCAD Civil 3D Customization

Reply
Active Contributor
tomg
Posts: 34
Registered: ‎09-09-2011
Message 1 of 6 (282 Views)
Accepted Solution

C# DotNetComInterop Sample

282 Views, 5 Replies
03-01-2012 06:09 AM

Getting started with DotNet. I am trying to run the C# DotNetComInterop sample in VS 2010. References to AecXBase and AecXUIBase are unresolved.  Both type libraries are in the C:\Program Files\Common Files folder. The error list states the components could not be found. The registry shows Version 6.7.107.0 for both components.

 

Has anyone seen this or know the solution?

 

Tom

 

Win 7 C3D 2012 SP1 (64 Bit)

 

*Expert Elite*
Jeff_M
Posts: 4,317
Registered: ‎07-22-2003
Message 2 of 6 (279 Views)

Re: C# DotNetComInterop Sample

03-01-2012 06:25 AM in reply to: tomg

Delete those 2 references and add them back in using the COM tab.

 

3-1-2012 6-24-38 AM.png

Jeff_M, also a frequent Swamper
Active Contributor
tomg
Posts: 34
Registered: ‎09-09-2011
Message 3 of 6 (276 Views)

Re: C# DotNetComInterop Sample

03-01-2012 06:39 AM in reply to: Jeff_M

Had tried that. No joy.

 

I tried again - Still can't find them.

 

Tom

*Expert Elite*
Jeff_M
Posts: 4,317
Registered: ‎07-22-2003
Message 4 of 6 (267 Views)

Re: C# DotNetComInterop Sample

03-01-2012 07:03 AM in reply to: tomg

I'd forgotten about this.....If you have installed SP1 you will need to apply the REG file patch which I've attached. For the background on this:

http://forums.autodesk.com/t5/AutoCAD-Civil-3D-Customization/NET-on-C3D-2012-SP1/td-p/3239048

 

 

 

Jeff_M, also a frequent Swamper
Active Contributor
tomg
Posts: 34
Registered: ‎09-09-2011
Message 5 of 6 (259 Views)

Re: C# DotNetComInterop Sample

03-01-2012 08:38 AM in reply to: Jeff_M

Jerff,

 

That did the trick. Now I'm off to discover .NET in C3D.

 

Thanks,

 

Tom

*Expert Elite*
Jeff_M
Posts: 4,317
Registered: ‎07-22-2003
Message 6 of 6 (257 Views)

Re: C# DotNetComInterop Sample

03-01-2012 08:45 AM in reply to: tomg

Glad I could help! Have fun and feel free to ask about any issues you run into.

 

If you find a response which answers your question, please be sure to accept that response as the solution. This will help future searchers quickly find answers to their own questions. Thanks!

Jeff_M, also a frequent Swamper
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.