XamlParseException when I inherit a Page from a Generic base class
问题 I'm currently working with this exact code: public class ViewModelAwarePage<T> : Page { } public class BaseMainMenuView : ViewModelAwarePage<String> { } public sealed partial class MainMenuView : BaseMainMenuView { public MainMenuView() { this.InitializeComponent(); } } And xaml: <local:BaseMainMenuView x:Name="pageRoot" x:Class="Tutorial.UI.WinRT.Views.MainMenuView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns