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


Feb 22, 2015 at 11:07 PM
Anyone experienced problems using mvvmlight at design time in a winrt universal app?
In windows 8.1 application everytime i try to poulate data in design time (using if IsInDesignMode in the viewmodel) the view in visualstudio get broken up showing typeloadexception: Could not find Windows Runtime type 'Windows.UI.Xaml.Data.VisualStateGroup'.
Same thing of course in blend.
Am I missing something?
Feb 23, 2015 at 12:26 PM
I mean, I get this:
Apr 23, 2015 at 1:09 PM

I've got exactly the same problem. I used the sample project provided by Laurent Bugnion : "Using the MVVM Pattern in Windows 8".
The same exception - concerning different types - occurs when I debug the xaml editor (through XDesProc.exe) to understand why I can't get any data loading at design-time.

puckkk did you manage to solve this problem?
anyone else?

Apr 23, 2015 at 1:37 PM
Ok I just solved my problem... the sample I used was targeting Windows 8.0. I switched to 8.1 (be careful, it's not possible to switch back), now everything works fine.
That's weird since the targeted types existed in the Windows 8.0 reference (Windows.winmd), but they could not be loaded at design-time.