Strong Naming - If It's Not Supported What's Autodesk's Solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So how does everyone else deal with the lack of Strong Naming when developing Revit Add-Ins?
If I can't use strong naming how can I verify that the assemblies that my program gets are actually the assemblies that it installed to disk? If I'm relying on a third party library like Serilog or Epplus, how do I know that my program is getting my copy of the Serilog/Epplus dll with the right version number, and not the add-in that loaded ahead of mine's copy which could be using a completely different version? Without strong naming I have no guarantee that I get the support DLLs that I expect at runtime which leads to all kinds of bizarre "Method Not Found" errors that you shouldn't get in a strongly typed language.
This is the problem that Microsoft solved with strong naming, but apparently the Revit DLLs are not strongly named, and thus you can't use strong naming, but no alternative solution seems to be provided, so how does everyone else deal with this?