Hello,
I put the first steps in . NET. I wrote a program "Hello world ", but when I try to run it in AutoCAD I get an error:
Cannot load assembly. Error details: System.BadImageFormatException: Could not load file or assembly 'file:///C:\Users\Dominik\documents\visual studio 2010\Projects\Adsk\Adsk\bin\Release\Adsk.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
I use AutoCAD 2011, Windows 7, a program written in Microsoft Visual Basic 2010 Microsoft Expres.
I have installed .net framework 4 Client Profile, .net framework 4 Extended and .net framework 4 Multi - Targeting Pack.
Any advice? Thanks for any help.
Dominik
This class may help you: http://au.autodesk.com/?nd=e_class&session_id=5164
Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"
Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
Look at the post by Kaefer here or if you have VS open and double click on acad.exe.config and should have to just highlight and click uncomment button
http://www.theswamp.org/index.php?topic=35128.msg417567#msg417567