<?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: Error loading resources in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/error-loading-resources/m-p/11559360#M10926</link>
    <description>&lt;P&gt;Thanks guys. I guess I was trying to make my template too generic.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2022 17:27:39 GMT</pubDate>
    <dc:creator>Ed__Jobe</dc:creator>
    <dc:date>2022-11-17T17:27:39Z</dc:date>
    <item>
      <title>Error loading resources</title>
      <link>https://forums.autodesk.com/t5/net-forum/error-loading-resources/m-p/11557762#M10923</link>
      <description>&lt;P&gt;I created a test project with my new template and I get the following error when trying to netload it.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;NETLOAD
Cannot load assembly. Error details: System.Resources.MissingManifestResourceException: 
Could not find any resources appropriate for the specified culture or the neutral culture.  
Make sure "TID_.TID_Test.resources" was correctly embedded or linked into assembly "Acad2023PluginCSharp1" at compile time, or that all the satellite assemblies required are loadable and fully signed.&lt;/LI-CODE&gt;
&lt;P&gt;Attached is the test solution. I tried some things I found on stack overflow, but they haven't worked. I even tried deleting the resources.resx file, but that didn't help either. Got any ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 22:21:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/error-loading-resources/m-p/11557762#M10923</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2022-11-16T22:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading resources</title>
      <link>https://forums.autodesk.com/t5/net-forum/error-loading-resources/m-p/11558393#M10924</link>
      <description>Caused by the line: [CommandMethod("TID", "CommandNameGlobal", "CommandNameLocalized", CommandFlags.Modal)]&lt;BR /&gt;Remove "CommandNameGlobal", "CommandNameLocalized" and you're problem is gone.&lt;BR /&gt;have a look at &lt;A href="https://www.keanw.com/2009/06/registering-autocad-commands-with-localized-names-using-net.html" target="_blank"&gt;https://www.keanw.com/2009/06/registering-autocad-commands-with-localized-names-using-net.html&lt;/A&gt;</description>
      <pubDate>Thu, 17 Nov 2022 07:11:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/error-loading-resources/m-p/11558393#M10924</guid>
      <dc:creator>SENL1362</dc:creator>
      <dc:date>2022-11-17T07:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading resources</title>
      <link>https://forums.autodesk.com/t5/net-forum/error-loading-resources/m-p/11558499#M10925</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you use a CommandMethod&amp;nbsp; attribute overload which takes a localizedNameId argument, you have to add at least one resource file to the project names MyCommands.resx. In this file you have to add an entry which key is: CommandNameLocalized.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_gile_0-1668672594229.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1140825iDC050E26FB5661C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_gile_0-1668672594229.png" alt="_gile_0-1668672594229.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to add some localized command names, you have to add a resource file for each localized name, with the same key and a, possibly, different value (e.g. MyCommands.fr.resx with CommandNameLocalized = DIT).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_gile_1-1668672840244.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1140826i28A3C7DA55D2CDA1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_gile_1-1668672840244.png" alt="_gile_1-1668672840244.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The CommandMethod Attribute should be like this if tou want "TID" to be the global name.&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;[CommandMethod("CMDS_GROUP", "TID", "CommandNameLocalized", CommandFlags.Modal)]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 08:40:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/error-loading-resources/m-p/11558499#M10925</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2022-11-17T08:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading resources</title>
      <link>https://forums.autodesk.com/t5/net-forum/error-loading-resources/m-p/11559360#M10926</link>
      <description>&lt;P&gt;Thanks guys. I guess I was trying to make my template too generic.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 17:27:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/error-loading-resources/m-p/11559360#M10926</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2022-11-17T17:27:39Z</dc:date>
    </item>
  </channel>
</rss>

