Message 1 of 3
My plugin loads with release dll, but fails on the debug dll
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Revit 2020, Windows 10
I inherited a C# plugin code relies on a C++ dll. The combos that work (ribbon displays, commands work, etc):
Csharp.dll and Cplus.dll, when both are built as release
Csharp.dll (debug) and Cplus.dll (release)
This combo does not:
Csharp.dll(debug) and Cplus.dll (debug) gives an
External Tools - External Tool Failure
Revit cannot run the external application "MyAppName". Contact the provider for assistance. Information they provided to Revit about their identity: MyCompanyName
System.DllNotFoundException: Unable to load 'Cplus.dll': The specified module could not be found. (etc)
I have been comparing the build settings for Release vs Debug, but have not found anything helpful.