プロジェクトで(XAMLを使用して)作成したコントロールから継承しようとしています。私は空白のページで試しましたが、それを機能させることさえできません:
<local:BlankPage
x:Class="MyNamespace.MyPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:MyNamespace"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid>
</Grid>
</local:BlankPage>
BlankPage
ウィザードで作成した新しい空白ページの派生クラスです。MyPage
同じです。私が得るエラーは次のとおりです。
タイプ'local:BlankPage'が見つかりませんでした。アセンブリ参照が欠落していないこと、および参照されているすべてのアセンブリがビルドされていることを確認してください。
XAML for WinRT / Windows Store Appsで継承するにはどうすればよいですか?