[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!
Comments: I had to change the behavior of ContainsCreated indeed. Sorry about that. Use IsRegistered instead.
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!
Comments: I had to change the behavior of ContainsCreated indeed. Sorry about that. Use IsRegistered instead.