.NET Framework 4.0 DLL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This is getting ridiculous......
AutoCAD 2011....Visual Studio 2010 Pro
I created a Framework 4.0 DLL.....and it loads and runs fine on my machine.
Here is my "acad.exe.config"
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0"/>
</startup>
<!--All assemblies in AutoCAD are fully trusted so there's no point generating publisher evidence-->
<runtime>
<generatePublisherEvidence enabled="false"/>
</runtime>
</configuration>
I went to another users machine...and had him Download .Net Framework 4.0 from:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&dis...
I changed his "acad.exe.config"...to be just like mine...shown above.
When he tries to NETLOAD the DLL he gets:
Cannot load assembly. Error details:
System.BadImageFormException: Could not load file or assembly "....filename....." or one of it's dependencies.
This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Blah..Blah..Blah...
WHAT ON GOD"S EARTH DO I HAVE TO DO TO MAKE THIS WORK?