Unsolved problem with 'NoteViewer' in XML。

寛明 水崎 1 Reputation point
2020-05-02T05:25:50.827+00:00

Dear sir,
I managed to create a sample mentioned here with WPF App and Blank App (Universal Windows) http://musicengravingcontrols.com/en-US/Articles/Display?id=2

However, if I use Universal Windows Application, I get a problem here.
Error Lists say "Unknown type 'NoteViewer' in XML in XML namespace~.

I was told that this is because Manufaktura.Controls.UniversalApps.dll is corrupted.
However, I could not fix Manufaktura.Controls.UniversalApps.dll.

Therefore, this time, my plan is to creat a new frame other than "NoteViewer" so that sheet music appears on it.

Because if I delete " <ManufakturaControls:NoteViewer x:Name="noteViewer1" ScoreSource="{Binding Data}" Height="110"/>". there is no error and therefore, it may be possible to do that.

If possible, could you teach me how to make a frame other than "NoteViewer"?

Incidentally, the below is what I wrote.

http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ManufakturaControls="clr-namespace:Manufaktura.Controls.UniversalApps;assembly=Manufaktura.Controls.UniversalApps" xmlns:d=" http://schemas.microsoft.com/expression/blend/2008" xmlns:mc=" http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

<Grid>
<StackPanel>
<ManufakturaControls:NoteViewer x:Name="noteViewer1" ScoreSource="{Binding Data}" Height="110"/>
</StackPanel>
</Grid>
</Page>

Universal Windows Platform (UWP)
{count} votes