Je suis en train d'utiliser la grille de WPFToolkit, mais je reçois l'erreur:Impossible de charger le type « System.Windows.Controls.Primitives.MultiSelector » de l'assemblage PresentationFramework
DisplayDataMapping.xaml (9,89):
errorMC1000: Unknown build error,
'Could not load type 'System.Windows.Controls.Primitives.MultiSelector' from assembly
'PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Line 9 Position 89.'
Voici la xaml:
<UserControl x:Class="DisplayDataMapping" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:toolkit="http://schemas.microsoft.com/wpf/2008/toolkit"> <StackPanel Margin="10"> <Border CornerRadius="5" BorderThickness="1" Padding="5" BorderBrush="WhiteSmoke"> <toolkit:DataGrid x:Name="dataGridPostings" Background="Transparent" AlternatingRowBackground="LightSteelBlue" RowBackground="White" GridLinesVisibility="None" HorizontalGridLinesBrush="SlateGray"> </toolkit:DataGrid> </Border> </StackPanel> </UserControl>
Cela peut être lié à une dépendance à SP1 de l'infrastructure .NET 3.5. La machine de génération sur laquelle cette erreur se produit possède uniquement .NET 3.5, sans SP1 ... –