Type 'AutoCAD_VB_plug_in.My.MySettings' not defined error

Type 'AutoCAD_VB_plug_in.My.MySettings' not defined error

rajeshpatnaik2001
Advocate Advocate
1,612 Views
2 Replies
Message 1 of 3

Type 'AutoCAD_VB_plug_in.My.MySettings' not defined error

rajeshpatnaik2001
Advocate
Advocate

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

0 Likes
1,613 Views
2 Replies
Replies (2)
Message 2 of 3

Balaji_Ram
Alumni
Alumni

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

0 Likes
Message 3 of 3

rajeshpatnaik2001
Advocate
Advocate

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

0 Likes