VisualStateAwarePage with error: Your views must implement IView

Nov 19, 2014 at 9:20 AM
Hi,

recently installed VS 2013 Community Edition.
I didn't notice it at first, but now it seems that every time I change a view, I get an error in
prism:ViewModelLocator.AutoWireViewModel="true"
saying
Your views must implement IView ....MyApp\MyappApp\Views\MainPage.xaml  14  5   MyApp
But VisualStateAwarePage implements IViews, doesn't it?

As far as I can tell, everything still works as it is supposed to, but it's a bit annyoing.
<prismStorapps:VisualStateAwarePage x:Name="Main_Page"
    x:Class="MyApp.Views.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:MyApp.Views"
    xmlns:controls="using:MyApp.Controls"
    xmlns:interactivity="using:Microsoft.Xaml.Interactivity"
    xmlns:core="using:Microsoft.Xaml.Interactions.Core"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:prismStorapps="using:Microsoft.Practices.Prism.StoreApps"
    xmlns:prism="using:Microsoft.Practices.Prism.Mvvm"
    __prism:ViewModelLocator.AutoWireViewModel="true"__
    mc:Ignorable="d">
What can I do, to get rid of this error?

Thanks!
Rico
Nov 19, 2014 at 9:22 AM
Hi,

sorry, I missed that there is already an issue open: https://prismwindowsruntime.codeplex.com/workitem/46

Closing this.

Rico
Marked as answer by schlumpfling42 on 11/19/2014 at 1:22 AM