Message 1 of 5
WPF MVVM works with Add-In Manager but not otherwise
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have come across this strange issue where my Revit add-in works exactly like I would expect when I load it using Add-In Manager. But if I load it using Add-Ins > External Tools, it fails to work as expected. Here are some of the things I have used.
1) I use System.Windows.Interactivity.dll for XAML reference.
2) I use Revit API in the View Model that is used as a Data Context for the View.
3) My XAML is a Window type and not User Control.
I would like to know how Add-In Manager is loading my add-in differently than using the Add-Ins > External Tools?
I will try to load it using a Ribbon menu item and see if that makes the difference. Any help or thoughts in this issue would be so helpful.
Thank you!