locked
Autocad dll Strong signing error RRS feed

  • Question

  • I have built an app using Visual Studio 2012,.Net ver 4. It runs fine using debug until I try to build or publish it. I get error messages about AutoCAD dll files needing to be strong signed in order to be marked as a prerequisite if I have the Copy Local property on AcDbMgd.dll or AcMgd.dll set to False as is recommended in the .NET Developer's Guide. If I set this property to True for these two references, the app builds but giving runtime error "Common Language Runtime detected an invalid program". I've tried removing the references to these two files and deleting out the bin and obj folders with no luck. I'm using the ObjectARX 2014 SDK for the dll files but I've also tried the dll files included with the AutoCAD 2014 installation with the same bad results. Any ideas out there?
    Wednesday, July 9, 2014 11:39 AM

Answers

  • Hi Jobinelav,

    I pick up an article talking about the reasons why AutoCAD doesn’t provide strong named assemblies. See more information from http://adndevblog.typepad.com/autocad/2012/07/can-i-sign-my-autocad-net-plug-in-with-a-strong-name.html. AutoCAD is third party software and it is out of our support range. Ask questions on the following link. http://forums.autodesk.com/.

    Thank you for understanding.

    Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

    • Marked as answer by jobin jose Thursday, July 10, 2014 7:23 AM
    Thursday, July 10, 2014 5:24 AM