<?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: User Controls.resx - Object reference not set to an instance of an object in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/user-controls-resx-object-reference-not-set-to-an-instance-of-an/m-p/3413997#M56376</link>
    <description>&lt;P&gt;Thanks Alfred,&lt;/P&gt;&lt;P&gt;That explains things.&amp;nbsp;I think for now I will stay with 2012 and&amp;nbsp;will try to tackle earlier versions if the need arises.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 15 Apr 2012 12:05:53 GMT</pubDate>
    <dc:creator>SRSDS</dc:creator>
    <dc:date>2012-04-15T12:05:53Z</dc:date>
    <item>
      <title>User Controls.resx - Object reference not set to an instance of an object</title>
      <link>https://forums.autodesk.com/t5/net-forum/user-controls-resx-object-reference-not-set-to-an-instance-of-an/m-p/3404355#M56371</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've just changed a VS compile options to use .NET Framework 3.5 (previously Framework 4).&lt;/P&gt;&lt;P&gt;My user controls that I've added as containers for the pallette don't seem to agree with it and I get a "Object reference not set to an instance of an object" error on each of their resx files. And one on Resources.resx.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is a screenshot.&lt;/P&gt;&lt;P&gt;Is there anything I can do to fix this?&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2012 21:33:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/user-controls-resx-object-reference-not-set-to-an-instance-of-an/m-p/3404355#M56371</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2012-04-08T21:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: User Controls.resx - Object reference not set to an instance of an object</title>
      <link>https://forums.autodesk.com/t5/net-forum/user-controls-resx-object-reference-not-set-to-an-instance-of-an/m-p/3410167#M56372</link>
      <description>&lt;P&gt;One suggestion I have found was to search and replace &amp;nbsp;"4.0.0.0" with "2.0.0.0".&lt;/P&gt;&lt;P&gt;After doing this the application loads but now none of my CommandMethods are working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;CommandMethod("DRR", CommandFlags.UsePickSet Or CommandFlags.Redraw Or CommandFlags.Modal)&amp;gt;&lt;/P&gt;&lt;P&gt;Sub DRR()&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2012 11:09:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/user-controls-resx-object-reference-not-set-to-an-instance-of-an/m-p/3410167#M56372</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2012-04-12T11:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: User Controls.resx - Object reference not set to an instance of an object</title>
      <link>https://forums.autodesk.com/t5/net-forum/user-controls-resx-object-reference-not-set-to-an-instance-of-an/m-p/3410171#M56373</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on what release of AutoCAD are you working currently?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2012 11:12:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/user-controls-resx-object-reference-not-set-to-an-instance-of-an/m-p/3410171#M56373</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2012-04-12T11:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: User Controls.resx - Object reference not set to an instance of an object</title>
      <link>https://forums.autodesk.com/t5/net-forum/user-controls-resx-object-reference-not-set-to-an-instance-of-an/m-p/3410467#M56374</link>
      <description>&lt;P&gt;Hi Alfred,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a bit confused about what's going on here and am just stumbling around.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was trying to get 2012 working. It was loading but commands weren't working.&lt;/P&gt;&lt;P&gt;I've just tried 2011where the commands are working but the debugger isn't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.NETFramework v4.0 doesn't seem to work for 2011. It used to but I reformated my computer and it doesn't anymore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;And maybe I should be using 3.5 anyway?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2012 14:01:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/user-controls-resx-object-reference-not-set-to-an-instance-of-an/m-p/3410467#M56374</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2012-04-12T14:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: User Controls.resx - Object reference not set to an instance of an object</title>
      <link>https://forums.autodesk.com/t5/net-forum/user-controls-resx-object-reference-not-set-to-an-instance-of-an/m-p/3410521#M56375</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; I was trying to get 2012 working&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;That needs Framework 4.0, so to step back to 3.5 would be the wrong decission (for AutoCAD 2012)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; I've just tried 2011where the commands are working but the debugger isn't.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Now you should be carefull to not mix up your projects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a workaround for how Framework 3.5 based projects work with 2012 and also get debugging to work (look at the "Through the Interface"-site by Kean Walmsley).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For me the best solution is to have a project for 2011, using Framework 3.5 and another project for 2012 using Framework 4.&lt;/P&gt;&lt;P&gt;Both projects can point to the same source-files but uses different references and project settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I can't reproduce at the moment (because of limited time): if you created a project with 4.0 including creation of forms or user-controls (therefor using resx-files, I think) ...if these projects are working when you save them back to an older Framework as the controls you used before came from Framework 4. That may be a problematic situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2012 14:12:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/user-controls-resx-object-reference-not-set-to-an-instance-of-an/m-p/3410521#M56375</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2012-04-12T14:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: User Controls.resx - Object reference not set to an instance of an object</title>
      <link>https://forums.autodesk.com/t5/net-forum/user-controls-resx-object-reference-not-set-to-an-instance-of-an/m-p/3413997#M56376</link>
      <description>&lt;P&gt;Thanks Alfred,&lt;/P&gt;&lt;P&gt;That explains things.&amp;nbsp;I think for now I will stay with 2012 and&amp;nbsp;will try to tackle earlier versions if the need arises.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2012 12:05:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/user-controls-resx-object-reference-not-set-to-an-instance-of-an/m-p/3413997#M56376</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2012-04-15T12:05:53Z</dc:date>
    </item>
  </channel>
</rss>

