Min*_*Kim 5 c# wpf xaml namespaces cefsharp
我已按照此链接实施CefSharp应用程序.
但我在编码时卡住了MainWindow.xaml.
混合VS 2015说,
名称ChromiumWebBrowser不命名空间中存在"CLR-名称空间:CefSharp.Wpf;装配= CefSharp.Wpf"
但我在NuGet Package Manager中安装了CefSharp.Common和CefSharp.Wpf v51.0.0,cef.redist.x64和cef.redist.x86 v3.2704.1432.
我是开发C#的新手,所以我不知道如何解决这个问题.请帮我解决这个错误.
这是我的 MainWindow.xaml
<Window x:Class="StocktalkBrowser.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:StocktalkBrowser"
xmlns:cefSharp="clr-namespace:CefSharp.Wpf;assembly=CefSharp.Wpf"
mc:Ignorable="d"
Title="MainWindow" Height="350" Width="525">
<Grid>
<cefSharp:ChromiumWebBrowser Grid.Row="0" Address="https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions" />
</Grid>
</Window>
Run Code Online (Sandbox Code Playgroud)