Quantcast
Channel: MVVM Light Toolkit
Viewing all articles
Browse latest Browse all 1826

Edited Issue: ContainsCreated with key, Win8 not working [7601]

$
0
0
[Modified error, see comment below]
I'm using the latest binaries (4.1.27.22661) from NuGet and my project is mimicking the sample navigation project from your MIX talk, but no matter what I try, the ViewModel is never registered as an instance when I try using a key.

```
if (!SimpleIoc.Default.ContainsCreated<SeriesViewModel>(FolderGuid))
{
SimpleIoc.Default.Register(
() => new SeriesViewModel()
{
FolderGuid = FolderGuid
},
FolderGuid);
}
MainViewModel._navigationService.Navigate(typeof(SeriesView), FolderGuid);
```

This seems to be exactly what this person was experiencing:
[http://mvvmlight.codeplex.com/workitem/7565](http://mvvmlight.codeplex.com/workitem/7565)

I wonder if the fix failed to make it to the Win8 binaries.

Thanks!

Viewing all articles
Browse latest Browse all 1826

Trending Articles