<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 'ApplicationServices' is not a member of 'AutoCAD' in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400937#M56424</link>
    <description>&lt;P&gt;i'm stuck. recap: applicationservices namespace&amp;nbsp;found&amp;nbsp;after&amp;nbsp;project's target framework set to 4.0; acad config file also 4.0; project compiles;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"...but doesn't run"- you start debugging but&amp;nbsp;no feedback in the immediate window,&amp;nbsp;hit breakpoints, any exceptions thrown etc?&lt;/P&gt;</description>
    <pubDate>Thu, 05 Apr 2012 12:37:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-04-05T12:37:25Z</dc:date>
    <item>
      <title>'ApplicationServices' is not a member of 'AutoCAD'</title>
      <link>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400663#M56416</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First off, you may have seen this before here...&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://forums.autodesk.com/t5/NET/Namespace-ApplicationServices-does-not-exist-in-Autodesk-AutoCAD/td-p/3059078"&gt;http://forums.autodesk.com/t5/NET/Namespace-ApplicationServices-does-not-exist-in-Autodesk-AutoCAD/td-p/3059078&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, that does work for me, not sure why. I'm using VB 2010 Express, and really enjoying it! When I add my references, acdbmgd and acmgd from AutoCAD 2012 folder, everything looks good. When I hit compile, i get the errors shown in the attachment.&lt;/P&gt;&lt;P&gt;&lt;IMG align="center" border="0" title="errors.jpg" alt="errors.jpg" src="http://forums.autodesk.com/t5/image/serverpage/image-id/25145iC41DD6F1CA127E9D/image-size/original?v=mpbl-1&amp;amp;px=-1" /&gt;&lt;/P&gt;&lt;P&gt;What have I done wrong?&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards &amp;amp; Happy Easter&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 09:22:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400663#M56416</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-05T09:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: 'ApplicationServices' is not a member of 'AutoCAD'</title>
      <link>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400733#M56417</link>
      <description>&lt;P&gt;hi ryan, just an idea, have you tried setting the reference path of the acmgd file to the downloaded, appropriate sdk folder (as opposed to the autodesk one)?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 10:11:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400733#M56417</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-05T10:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: 'ApplicationServices' is not a member of 'AutoCAD'</title>
      <link>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400745#M56418</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had tried that, but to make sure, I tried it again, with not success. If I'm correct in understanding you, its the one that defaults to&amp;nbsp;C:\ObjectARX 2012\inc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also ran a repair on .NET framework 4., and ran the 3.5 SP1 install too. Nothing changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hmmm, what now?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 10:23:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400745#M56418</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-05T10:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: 'ApplicationServices' is not a member of 'AutoCAD'</title>
      <link>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400765#M56419</link>
      <description>&lt;P&gt;So, I found the advanced compiler options! It was set to '.NET 4 Framework Client Profile'. If I change it to .'NET Framework 4', it compiles, but doesn't run.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG align="center" border="0" title="Advanced Compiler Settings.jpg" alt="Advanced Compiler Settings.jpg" src="http://forums.autodesk.com/t5/image/serverpage/image-id/25161i36F271F7FAC67F8C/image-size/original?v=mpbl-1&amp;amp;px=-1" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error is thrown before form appears.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG align="center" border="0" title="running error.jpg" alt="running error.jpg" src="http://forums.autodesk.com/t5/image/serverpage/image-id/25163iAB2EEA514D5B754A/image-size/original?v=mpbl-1&amp;amp;px=-1" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 10:39:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400765#M56419</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-05T10:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: 'ApplicationServices' is not a member of 'AutoCAD'</title>
      <link>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400771#M56420</link>
      <description>&lt;P&gt;does acad2012 know that you are now targeting .net 4.0? i.e. have you allocated the acad configuration file on your system and changed version to 4.0?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 10:47:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400771#M56420</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-05T10:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: 'ApplicationServices' is not a member of 'AutoCAD'</title>
      <link>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400773#M56421</link>
      <description>&lt;P&gt;I'm a bit rusty. And to be honest, have no idea what you just asked me&amp;nbsp;&lt;img id="smileyindifferent" class="emoticon emoticon-smileyindifferent" src="https://forums.autodesk.com/i/smilies/16x16_smiley-indifferent.png" alt="Smiley Indifferent" title="Smiley Indifferent" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would I do that last bit. Apologies for the greeness! &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 10:51:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400773#M56421</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-05T10:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: 'ApplicationServices' is not a member of 'AutoCAD'</title>
      <link>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400785#M56422</link>
      <description>&lt;P&gt;sorry, was a bit short.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on your main drive should be the autodesk file for your acad application and in there an acad configuration file (either .exe or .config). this config file contains the acad's target .net framework (and not much more) which should conform to the framework you set for you project, as you say 4.0 (and not be commented out); you can open and edit the config file e.g. with notepad&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 11:15:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400785#M56422</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-05T11:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: 'ApplicationServices' is not a member of 'AutoCAD'</title>
      <link>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400901#M56423</link>
      <description>&lt;P&gt;No Problem!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;configuration&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;lt;startup useLegacyV2RuntimeActivationPolicy="true"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;supportedRuntime version="v4.0"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/startup&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;!--All assemblies in AutoCAD are fully trusted so there's no point generating publisher evidence--&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;runtime&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;generatePublisherEvidence enabled="false"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/runtime&amp;gt;&lt;BR /&gt;&amp;lt;/configuration&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is in a file called acad.exe.config. Presuming that is v4.0...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm runnning Win7 x64 if that makes a difference...&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 12:18:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400901#M56423</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-05T12:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: 'ApplicationServices' is not a member of 'AutoCAD'</title>
      <link>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400937#M56424</link>
      <description>&lt;P&gt;i'm stuck. recap: applicationservices namespace&amp;nbsp;found&amp;nbsp;after&amp;nbsp;project's target framework set to 4.0; acad config file also 4.0; project compiles;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"...but doesn't run"- you start debugging but&amp;nbsp;no feedback in the immediate window,&amp;nbsp;hit breakpoints, any exceptions thrown etc?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 12:37:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400937#M56424</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-05T12:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: 'ApplicationServices' is not a member of 'AutoCAD'</title>
      <link>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400961#M56425</link>
      <description>&lt;P&gt;and you're aware of this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://forums.autodesk.com/t5/NET/Check-out-the-self-paced-guide-My-First-Plug-in/td-p/3343267"&gt;http://forums.autodesk.com/t5/NET/Check-out-the-self-paced-guide-My-First-Plug-in/td-p/3343267&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 12:46:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400961#M56425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-05T12:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: 'ApplicationServices' is not a member of 'AutoCAD'</title>
      <link>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400965#M56426</link>
      <description>&lt;P&gt;Yeah, I am aware of the 'MyFirstPlugin'. I'll try compile on my home laptop, and see if its a machine issue. If not, I'll post a recap.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 12:48:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3400965#M56426</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-05T12:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: 'ApplicationServices' is not a member of 'AutoCAD'</title>
      <link>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3401131#M56427</link>
      <description>&lt;P&gt;The fact that it compiles but does not run, and the other clues from what you have sid in this thread inducate that your have an issue that is different from the other thread you mentioned:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are doing a stand-alone VB.NET EXE project, aren't you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If yes, then&amp;nbsp;you CANNOT USE AutoCAD .NET API assemblies (acdbmgd.dll, acmgd.dll...),&amp;nbsp;thus the error you got when trying to run your app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For EXE app, you can only use AutoCAD COM API, or you can do Acad .NET API DLL project and expose it as COM (if you know what does that mean).&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 13:59:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3401131#M56427</guid>
      <dc:creator>Norman_Yuan</dc:creator>
      <dc:date>2012-04-05T13:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: 'ApplicationServices' is not a member of 'AutoCAD'</title>
      <link>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3401139#M56428</link>
      <description>&lt;P&gt;Norman, I think you've got it! I neglected to mention that its a standalone app, mostly incororating Excel to Inventor communication. I'm using the AutoCAD bit to update a title block.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yikes, the smallest things get overlooked. Didn't even think to mention it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/543921"&gt;@Norman_Yuan&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;For EXE app, you can only use AutoCAD COM API, or you can do Acad .NET API DLL project and expose it as COM (if you know what does that mean).&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="line-height: 13px;"&gt;I've got a vague idea of what you mean. Any links that I can follow or read though to guide me through it?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 13px;"&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 14:05:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3401139#M56428</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-05T14:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: 'ApplicationServices' is not a member of 'AutoCAD'</title>
      <link>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3401391#M56429</link>
      <description>&lt;P&gt;Appreciate the help and patience. I think I've stumbled upon the potential answer within AutoCAD Exchange. Just never knew what to search for. Case of 'you don't know what you don't know'. Thats why the forum is so helpful&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 15:47:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/applicationservices-is-not-a-member-of-autocad/m-p/3401391#M56429</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-05T15:47:19Z</dc:date>
    </item>
  </channel>
</rss>

