-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="using:AvaloniaApplication1.ViewModels"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:views="clr-namespace:AvaloniaApplication1.Views"
xmlns:oxy="using:OxyPlot.Avalonia"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="AvaloniaApplication1.Views.MainWindow"
Icon="/Assets/avalonia-logo.ico"
Title="AvaloniaApplication1">
<views:MainView>
<TabControl>
<Grid>
<oxy:PlotView></oxy:PlotView>
</Grid>
</TabControl>
</views:MainView>
</Window
build error:
[Error] 16196 UpdateXamlResult error
System.Xaml.XamlException: “Unable to resolve type PlotView from namespace using:OxyPlot.Avalonia Line 16, position 10.”,行号为“16”,行位置为“10”。
runtime error
System.IO.FileNotFoundException:“Could not load file or assembly 'Avalonia.Visuals, Version=0.10.11.0, Culture=neutral, PublicKeyToken=c8d484a7012f9a8b'. 系统找不到指定的文件。”
请问下为什么会出现编译和运行时错误
Metadata
Metadata
Assignees
Labels
No labels