- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I just started creating a simple add-in application in VB .net for Revit 2019 by following the tutorial:
https://knowledge.autodesk.com/support/revit-products/learn-explore/caas/CloudHelp/cloudhelp/2014/EN... (from Apr 18 2014).
I have completed all steps successfully, however, when clicking on the button to execute my add-in, this message appears:
Failed to initialize the add-in "HelloWorld" because the class "HelloWorld" cannot be found in the add-in assembly.
The FullCassName provides the entry point for Revit to call the add.in application. For Revit to run the add-in, you must ensure this class implements the "Atuodesk. Revit.UI.IExternalCommand" interface.
I have checked the .dll's properties and it has not been flagged by windows. I am sure the IExternalCommand is implemented. I have tried with a namespace, without a namespace, with a different class name, with the .dll in the same folder as the addin, and tried doing the tutorial again from scratch without renaming the .vb file. Unfortunately it still did not work: it keeps on showing this message, no matter what class name I write.
I have attached some printscreens of the project and the manifest file.
I think the problem is that it is not finding the class in the assembly because the message is tittled "Wrong Full Class Name". so I must have written this wrong in the manifest file. What should I write them?
Many Thanks.
Solved! Go to Solution.