<?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 .NET Framework 4.0 DLL in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/net-framework-4-0-dll/m-p/3067052#M60410</link>
    <description>&lt;P&gt;This is getting ridiculous......&lt;BR /&gt;&lt;BR /&gt;AutoCAD 2011....Visual Studio 2010 Pro&lt;BR /&gt;I created a Framework 4.0 DLL.....and it loads and runs fine on my machine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my "acad.exe.config"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;configuration&amp;gt;&lt;/P&gt;&lt;P&gt;&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;lt;/startup&amp;gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;lt;generatePublisherEvidence enabled="false"/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;I went to another users machine...and had him Download .Net Framework 4.0 from:&lt;BR /&gt;&lt;BR /&gt;&lt;A target="_blank" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&amp;amp;displaylang=en&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed his "acad.exe.config"...to be just like mine...shown above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When he tries to NETLOAD the DLL he gets:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cannot load assembly. Error details:&lt;BR /&gt;System.BadImageFormException: Could not load file or assembly "....filename....." or one of it's dependencies.&lt;BR /&gt;This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.&lt;BR /&gt;Blah..Blah..Blah...&lt;BR /&gt;&lt;BR /&gt;WHAT ON GOD"S EARTH DO I HAVE TO DO TO MAKE THIS WORK?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jun 2011 21:15:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-06-21T21:15:56Z</dc:date>
    <item>
      <title>.NET Framework 4.0 DLL</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-framework-4-0-dll/m-p/3067052#M60410</link>
      <description>&lt;P&gt;This is getting ridiculous......&lt;BR /&gt;&lt;BR /&gt;AutoCAD 2011....Visual Studio 2010 Pro&lt;BR /&gt;I created a Framework 4.0 DLL.....and it loads and runs fine on my machine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my "acad.exe.config"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;configuration&amp;gt;&lt;/P&gt;&lt;P&gt;&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;lt;/startup&amp;gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;lt;generatePublisherEvidence enabled="false"/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;I went to another users machine...and had him Download .Net Framework 4.0 from:&lt;BR /&gt;&lt;BR /&gt;&lt;A target="_blank" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&amp;amp;displaylang=en&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed his "acad.exe.config"...to be just like mine...shown above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When he tries to NETLOAD the DLL he gets:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cannot load assembly. Error details:&lt;BR /&gt;System.BadImageFormException: Could not load file or assembly "....filename....." or one of it's dependencies.&lt;BR /&gt;This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.&lt;BR /&gt;Blah..Blah..Blah...&lt;BR /&gt;&lt;BR /&gt;WHAT ON GOD"S EARTH DO I HAVE TO DO TO MAKE THIS WORK?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2011 21:15:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-framework-4-0-dll/m-p/3067052#M60410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-21T21:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: .NET Framework 4.0 DLL</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-framework-4-0-dll/m-p/3069494#M60411</link>
      <description>&lt;P&gt;Problem here was...I was "attempting" to run the DLL from a network location...and have since found out that .....that might not work unless you jump thru hoops...oh well...guess we'll have to copy everything down to local hard drives......great!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2011 14:44:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-framework-4-0-dll/m-p/3069494#M60411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-23T14:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: .NET Framework 4.0 DLL</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-framework-4-0-dll/m-p/3071600#M60412</link>
      <description>&lt;P&gt;Or you could add the load from remote sources switch&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{code}&lt;/P&gt;&lt;P&gt;&amp;lt;runtime&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;lt;generatePublisherEvidence enabled="false"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;loadFromRemoteSources enabled="true"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/runtime&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{/code}&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2011 18:57:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-framework-4-0-dll/m-p/3071600#M60412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-24T18:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: .NET Framework 4.0 DLL</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-framework-4-0-dll/m-p/3071636#M60413</link>
      <description>&lt;P&gt;Do you add this....loadFromRemoteSources......to the Local "acad.exe.config" file?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2011 19:17:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-framework-4-0-dll/m-p/3071636#M60413</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-24T19:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: .NET Framework 4.0 DLL</title>
      <link>https://forums.autodesk.com/t5/net-forum/net-framework-4-0-dll/m-p/3072898#M60414</link>
      <description>&lt;P&gt;That's what I did.&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://msdn.microsoft.com/en-us/library/dd409252.aspx"&gt;http://msdn.microsoft.com/en-us/library/dd409252.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I set the security settings for the computers and the network location using CASPOL.exe the same as I did in earlier versions.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2011 13:15:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/net-framework-4-0-dll/m-p/3072898#M60414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-27T13:15:51Z</dc:date>
    </item>
  </channel>
</rss>

