When adding a ViewControl in NavisWorks, the following error message is displayed:
Added a viewcontrol control via a dll file, but when dragging and dropping it onto a form in the toolbox, it says that the creation of the component "viewcontrol" failed with "System.IO.FileNotFoundException: Failed to load file or assembly Autodesk.Navisworks.Failed to load file or assembly Autodesk.Navisworks.
There should be no problem with the reference to the Autodesk.Navisworks.Api, as the following code runs successfully.
Link copied