<?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 : Wrong AutoCAD for Debugging in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/wrong-autocad-for-debugging/m-p/3747894#M51750</link>
    <description>&lt;P&gt;Hi Alfred,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; I think one of the differences between &lt;FONT face="lucida sans unicode,lucida sans"&gt;VS2010&lt;/FONT&gt; (pro) and &lt;FONT face="lucida sans unicode,lucida sans"&gt;VB2010Express&lt;/FONT&gt; (which the OP has) is that the Express version does not have a debug-page&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;From my remember VS Express versions (2008 and 2010) had a Debug tab with the commandline arguments box (VS 2012 Express for Desktop do have it). what they missed was the start program box (the reason why it's needed to edit the MSBuild file).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; I think Gilles meant the &lt;FONT face="lucida sans unicode,lucida sans"&gt;VBPROJ.USER&lt;/FONT&gt; file.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;You're right, but editing the vbproj (or csproj, fsproj)&amp;nbsp;&amp;lt;PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "&amp;gt; node works too.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jan 2013 10:04:37 GMT</pubDate>
    <dc:creator>_gile</dc:creator>
    <dc:date>2013-01-08T10:04:37Z</dc:date>
    <item>
      <title>Wrong AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/wrong-autocad-for-debugging/m-p/3747713#M51745</link>
      <description>&lt;P&gt;I am using AutoCAD Mechanical 2012 and VB 2010 Express.&amp;nbsp; I am trying to debug my program but it opens up AutoCAD instead of AutoCAD Mechanical.&amp;nbsp; I am attaching my a copy of my myTable.vbproj.user file.&amp;nbsp; (I added the .txt to send the file)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know what else I need in the file?&amp;nbsp; I did not have this problem when I had AutoCAD Mechanical 2011 and VB 2008 Express.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2013 23:05:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/wrong-autocad-for-debugging/m-p/3747713#M51745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-07T23:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/wrong-autocad-for-debugging/m-p/3747858#M51746</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; but it opens up AutoCAD instead of AutoCAD Mechanical&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I guess it's not opening another product, it's opening the correct ACAD.EXE, but with the wrong profile/start parameters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take your icon for Mechanical on your desktop, right-click ==&amp;gt; properties and look to the starting exe + options (all what is defined behind the ...\ACAD.EXE. All behind are start-parameters for AutoCAD to define e.g. the profile, a templatefile, ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking now to your .USER file you should modify it that way&lt;/P&gt;&lt;P&gt;&lt;FONT color="#666699" face="lucida sans unicode,lucida sans"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;StartArguments&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#666699" face="lucida sans unicode,lucida sans"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;xxxxx &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#666699" face="lucida sans unicode,lucida sans"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/StartArguments&amp;gt; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;where &lt;FONT face="lucida sans unicode,lucida sans"&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT color="#FF6600"&gt;xxxxx&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt; has to be replaced with the parameters as they are defined in the Mechanical starticon properties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH, - alfred -&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2013 08:46:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/wrong-autocad-for-debugging/m-p/3747858#M51746</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2013-01-08T08:46:04Z</dc:date>
    </item>
    <item>
      <title>Re : Wrong AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/wrong-autocad-for-debugging/m-p/3747860#M51747</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know much about Mechanical but I suppose it works like others vertical, AutoCAD (vanilla or vertical) opens according to a profile.&lt;/P&gt;&lt;P&gt;You can specify the profile used to start AutoCAD by:&lt;/P&gt;&lt;P&gt;- adding commandline arguments in the your project property debug tab:&lt;/P&gt;&lt;P&gt;/nologo /p "&amp;lt;profileName&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- or, addin a line to the MSBuild file (vbproj) after the &amp;lt;StartProgram&amp;gt; one:&lt;/P&gt;&lt;P&gt;&amp;lt;StartArguments&amp;gt;/nologo /p "&amp;lt;profileName&amp;gt;"&amp;lt;/StartArguments&amp;gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2013 08:48:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/wrong-autocad-for-debugging/m-p/3747860#M51747</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2013-01-08T08:48:59Z</dc:date>
    </item>
    <item>
      <title>Re : Wrong AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/wrong-autocad-for-debugging/m-p/3747864#M51748</link>
      <description>&lt;P&gt;Hi Gilles&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; - adding commandline arguments in the your project property debug tab&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I think one of the differences between &lt;FONT color="#666699" face="lucida sans unicode,lucida sans"&gt;VS2010&lt;/FONT&gt; (pro) and &lt;FONT color="#666699" face="lucida sans unicode,lucida sans"&gt;VB2010Express&lt;/FONT&gt; (which the OP has) is that the Express version does not have a debug-page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; or, addin a line to the MSBuild file (vbproj) after the &amp;lt;StartProgram&amp;gt; one&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I think Gilles meant the &lt;FONT color="#666699" face="lucida sans unicode,lucida sans"&gt;VBPROJ.USER&lt;/FONT&gt; file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2013 08:58:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/wrong-autocad-for-debugging/m-p/3747864#M51748</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2013-01-08T08:58:04Z</dc:date>
    </item>
    <item>
      <title>Re : Wrong AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/wrong-autocad-for-debugging/m-p/3747894#M51750</link>
      <description>&lt;P&gt;Hi Alfred,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; I think one of the differences between &lt;FONT face="lucida sans unicode,lucida sans"&gt;VS2010&lt;/FONT&gt; (pro) and &lt;FONT face="lucida sans unicode,lucida sans"&gt;VB2010Express&lt;/FONT&gt; (which the OP has) is that the Express version does not have a debug-page&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;From my remember VS Express versions (2008 and 2010) had a Debug tab with the commandline arguments box (VS 2012 Express for Desktop do have it). what they missed was the start program box (the reason why it's needed to edit the MSBuild file).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; I think Gilles meant the &lt;FONT face="lucida sans unicode,lucida sans"&gt;VBPROJ.USER&lt;/FONT&gt; file.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;You're right, but editing the vbproj (or csproj, fsproj)&amp;nbsp;&amp;lt;PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "&amp;gt; node works too.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2013 10:04:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/wrong-autocad-for-debugging/m-p/3747894#M51750</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2013-01-08T10:04:37Z</dc:date>
    </item>
    <item>
      <title>Re : Wrong AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/wrong-autocad-for-debugging/m-p/3747905#M51751</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; VS 2012 Express for Desktop do have it&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Great to know now. I didn't use it, will not use it, but maybe there come a question here and it's good to answer it correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; &amp;lt;PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "&amp;gt; node works too.&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;To be honest: I have no idea on how to define there the program to start for debug or the startup-parameters.&lt;/P&gt;&lt;P&gt;But as I don't really need it please don't spent time now for describing this. For me it's enough to know "there should be a way). If I have to use it in the future, I will search for it (and if I don't find, I will ask here). &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx, - alfred -&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2013 10:36:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/wrong-autocad-for-debugging/m-p/3747905#M51751</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2013-01-08T10:36:06Z</dc:date>
    </item>
    <item>
      <title>Re : Wrong AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/wrong-autocad-for-debugging/m-p/3751481#M51752</link>
      <description>&lt;P&gt;This did the trick.&amp;nbsp; Weird that I had to put the command on one line.&amp;nbsp; When I did it like the one above, I kept getting a profile name error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2013 22:01:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/wrong-autocad-for-debugging/m-p/3751481#M51752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-11T22:01:28Z</dc:date>
    </item>
  </channel>
</rss>

