Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

WPF Ribbon Error? (VS-2010)

$
0
0

Hi!

I will use the WPF Ribbon a second Time but i become an error...

 

<Window x:Class="FlyerPro.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"        
        Title="Flyer Pro"  Height="766" Width="984" WindowState="Maximized" ShowInTaskbar="True" PreviewKeyDown="Window_PreviewKeyDown" Name="WinHauptfenster" Icon="/FlyerPro;component/Images/logo2.jpg" Loaded="WinHauptfenster_Loaded" Closed="WinHauptfenster_Closed" Closing="WinHauptfenster_Closing"><Viewbox Stretch="Fill" StretchDirection="Both"><Grid Background="#FFDADADA" Width="992"><Menu Height="23" HorizontalContentAlignment="Stretch" Name="menuKopf" VerticalAlignment="Top" ><MenuItem Name="MenuItemStammdaten"  Header="Stammdaten" ToolTip="Auskunft" Click="MenuItem_VTLTBearbeiten"><MenuItem.Icon><Image Source="/FlyerPro;component/Images/accessories_dictionary.png" Height="11" Width="11"/></MenuItem.Icon></MenuItem></Menu><ribbon:Ribbon x:Name="_ribbon" Width="984" SelectedIndex="2" FontFamily="Arial" FontWeight="Bold" FontSize="12"><!-- Kein Application Menue!!! --><ribbon:Ribbon.ApplicationMenu><ribbon:RibbonApplicationMenu AllowDrop="False" Visibility="Collapsed" /></ribbon:Ribbon.ApplicationMenu><!-- Tourenverwaltung --><ribbon:RibbonTab x:Name="Tourenverwaltung" 
                                  Header="Tourenverwaltung" FontWeight="Normal"><ribbon:RibbonGroup x:Name="VerteilTouren" ><ribbon:RibbonButton x:Name="ButtonVTLTBearbeiten"
                                         LargeImageSource="/FlyerPro;component/Images/accessories_dictionary.png"
                                         Label="Verteil-Touren Bearbeiten" 
                                         Click="MenuItem_VTLTBearbeiten" 
                                         VerticalContentAlignment="Center"/></ribbon:RibbonGroup><ribbon:RibbonGroup x:Name="TourenLieferscheine" ><ribbon:RibbonButton x:Name="ButtonTourenLieferscheine"
                                         LargeImageSource="/FlyerPro;component/Images/lorrygreen.png"
                                         Label="Touren-Lieferscheine" 
                                         Click="MenuItem_TourenLieferscheine" 
                                         VerticalContentAlignment="Center" /></ribbon:RibbonGroup><ribbon:RibbonGroup x:Name="EinzelLieferscheine" ><ribbon:RibbonButton x:Name="ButtonEZLieferscheine"
                                         LargeImageSource="/FlyerPro;component/Images/home_door_32px_16px.png"
                                         Label="Einzel Lieferscheine" 
                                         Click="MenuItem_EZLieferscheine" 
                                         VerticalContentAlignment="Center" /></ribbon:RibbonGroup><ribbon:RibbonGroup x:Name="InfoPostPlanung" ><ribbon:RibbonButton x:Name="ButtonInfoPostPlanung"
                                         LargeImageSource="/FlyerPro;component/Images/users_2.png"
                                         Label="Info-Post Planung" 
                                         Click="MenuItem_InfoPostPlanung" 
                                         VerticalContentAlignment="Center" /></ribbon:RibbonGroup></ribbon:RibbonTab></ribbon:Ribbon><!--Ribbons Ende --><Image Height="614" HorizontalAlignment="Left" Margin="0,75,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="992" Source="/FlyerPro;component/Images/Logo2.jpg" /><TextBlock Height="36" HorizontalAlignment="Left" Margin="0,690,0,0" Name="textBlockEF00STZ1A" Text="" VerticalAlignment="Top" Width="992" Background="White" FontFamily="Arial" FontWeight="Bold" /><TreeView Height="553" HorizontalAlignment="Left" Margin="0,137,0,0" Name="treeView1" VerticalAlignment="Top" Width="188" Padding="0" Background="#F3F3F0F0" BorderBrush="White"><TreeViewItem Name="TreeviewTourenPlanung"  Header="Tourenplanung"><TreeViewItem Name="TreeviewVerteilTourenbearbeiten"  Header="Verteil-Touren bearbeiten" MouseLeftButtonUp="MenuItem_VTLTBearbeiten" MouseRightButtonUp="MenuItem_VTLTBearbeitenRe"/><TreeViewItem Name="TreeviewTourenLieferscheine" Header="Touren-Lieferscheine" MouseLeftButtonUp="MenuItem_TourenLieferscheine" MouseRightButtonUp="MenuItem_TourenLieferscheineRe"/><TreeViewItem Name="TreeviewEZLieferscheine" Header="Einzel Lieferscheine" MouseLeftButtonUp="MenuItem_EZLieferscheine" MouseRightButtonUp="MenuItem_EZLieferscheineRe"/><TreeViewItem Name="TreeviewInfoPostPlanung" Header="Info-Post Planung" MouseLeftButtonUp="MenuItem_InfoPostPlanung" MouseRightButtonUp="MenuItem_InfoPostPlanungRe"/></TreeViewItem></TreeView></Grid></Viewbox></Window>


The error is:

Fehler 2 Die Datei oder Assembly "Microsoft.Windows.Shell, PublicKeyToken=31bf3856ad364e35" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden. D:\FlyerProWPF\WPF\Masken\FlyerPro\MainWindow.xaml ...

What is the Problem?

Best Regards

Bernd Riemke



Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>