.NET

.NET

Reply
Valued Contributor
rajeshpatnaik2001
Posts: 64
Registered: ‎10-31-2003
Message 1 of 3 (249 Views)

Type 'AutoCAD_VB_plug_in.My.MySettings' not defined error

249 Views, 2 Replies
03-20-2013 02:53 AM

Hello,

 

I am new to .net programming for AutoCAD. In my system AutoCAD Civil 3D 2011 is installed.


As per the instrution in the "My First Plug-in Training" of autodesk, I did the installation of
- VS2008Exprees,
- objectarx_2011 _wizard and
- autocad_2010-2012_dotnet_wizards

 

As soon as create a new project, I find the following 2 errors.
- Type 'AutoCAD_VB_plug_in.My.MySettings' not defined.

- 'AutoCAD_VB_plug_in' is not a member of '<Default>'.

Why I am getting these errors? Any help in this regard will be highly appreciated.
Thanks.

 

Error

ADN Support Specialist
Balaji_Ram
Posts: 694
Registered: ‎03-21-2011
Message 2 of 3 (199 Views)

Re: Type 'AutoCAD_VB_plug_in.My.MySettings' not defined error

03-25-2013 04:10 AM in reply to: rajeshpatnaik2001

Hi Rajesh,

 

Can you try the VB.Net samples from the training labs for AutoCAD ?

 

These also have VB.Net projects that can be built using VS 2008 and run on AutoCAD 2011.

 

"The self-paced AutoCAD.NET training labs for AutoCAD."

http://usa.autodesk.com/adsk/servlet/index?id=1911627&siteID=123112

 

If the sample labs build ok, then there must be something specific to your project that is causing the error.

Sorry, I do not know exactly what is causing it but you can try right-click on the project and checking the "Settings" as the error seems to come from there.

 

 



Balaji
Developer Technical Services
Autodesk Developer Network

Valued Contributor
rajeshpatnaik2001
Posts: 64
Registered: ‎10-31-2003
Message 3 of 3 (183 Views)

Re: Type 'AutoCAD_VB_plug_in.My.MySettings' not defined error

03-26-2013 03:33 AM in reply to: Balaji_Ram

Thanks for your advise.
I have already got a solution in Augi forum.

http://forums.augi.com/showthread.php?146951-AutoCAD_VB_plug_in-problem

 

Thanks again.

 

Rajesh

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.