Hi everyone,
I was unable to upload Keep AttributesHorizontal.dll in AutoCAD and have got the error message below. I pressed F2 in AutoCAD to be able to read the error message. Please give some advice. Thank you very much for your time!
FJ
Command: netload Cannot load assembly. Error details: System.BadImageFormatException: Could not load file or assembly 'file:///C:\Users\.....Visual Studio 2010\Projects\KeepAttributesHorizontal\KeepAttributesHorizontal\obj\Release\Keep AttributesHorizontal.dll' or one of its dependencies.
This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. File name: 'file:///C:\Users\............\Visual Studio 2010\Projects\KeepAttributesHorizontal\KeepAttributesHorizontal\obj\Release\Keep AttributesHorizontal.dll' at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.LoadFrom(String assemblyFile) at Autodesk.AutoCAD.Runtime.ExtensionLoader.Load(String fileName) at loadmgd()
WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].