This project has moved and is read-only. For the latest updates, please go here.

Using Messenger leads ViewModel assembly references PresentationFramework

Oct 29, 2011 at 6:32 PM

I've tried to use Mvvm Light in order to show confirmation message box and realized that GalaSoft.MvvmLight assembly references PresentationFramework.

Do you think that reference to the pure UI assembly from the assembly with ViewModels is not evil?

Why did not you split the library on interface part and implementation part, especially since there already is GalaSoft.MvvmLight.Extras.

I really want to know your reasons :)


Oct 31, 2011 at 10:17 AM


There is still one class (DialogMessage) which uses the PresentationFramework. This is something that I want to change in V4, by replacing the MessageBox-related enums with "UI-agnostic" values.

"Evil" is a big word for something like that, but I agree that it is not as clean as it could be ;)