LSP to run NETLOAD to load custom DLL not working, but manually loading same DLL with NETLOAD from the commandline works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Has anyone seen something like this before?
Can we intercept the NETLOAD call to see information about what is happening when the DLL fails to load?
Any thoughts or ideas?
• Customer uses LSP routine to run the NETLOAD command to load a custom DLL
• was working in this version of ACAD (2021) before updating the DLL
• stopped working when custom app was upgraded from .NET 4.71 to 4.8
• They can determine that NETLOAD is running successfully from the LSP, as their other parts of the LSP script that run before and after run without issue
• Oddly, if they run the NETLOAD command manually from ACAD they can load the DLL and the custom app into ACAD as expected
• there is no "Cannot load assembly. Error details:" message or details in the ACAD command line when it fails to load
• Customer has followed the recommendations in the article:
Cannot load assembly... Operation is not supported" when loading a DLL file via NETLOAD in AutoCAD (autodesk.com)