Vb.net 查找资源字典[Fluent.Ribbon]时出错
我添加了fluent.dll作为参考。之后,在我的项目中添加一个名为“Themes”的文件夹,并将所有主题文件夹粘贴到“Themes”目录中。在我的application.xaml上,我添加了以下代码,即Vb.net 查找资源字典[Fluent.Ribbon]时出错,vb.net,visual-studio-2013,fluent-ribbon,Vb.net,Visual Studio 2013,Fluent Ribbon,我添加了fluent.dll作为参考。之后,在我的项目中添加一个名为“Themes”的文件夹,并将所有主题文件夹粘贴到“Themes”目录中。在我的application.xaml上,我添加了以下代码,即 <Application x:Class="Application" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.c
<Application x:Class="Application"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="MainWindow.xaml">
<Application.Resources>
<!--Attach Default Fluent Control's Theme-->
<ResourceDictionary Source="pack://application:,,,/Fluent; Component/Themes/Office2013/Generic.xaml" />
</Application.Resources>
</Application>
但当运行时,它会显示一个错误
查找资源字典时出错
我使用的是Vs2013.net 4.5版。您的间距错误
<ResourceDictionary Source="pack://application:,,,/Fluent; Component/Themes/Office2013/Generic.xaml" />
应该是
<ResourceDictionary Source="pack://application:,,,/Fluent;Component/Themes/Office2013/Generic.xaml" />