Bonjour tout le monde,

Mon application WPF marche à merveille jusque'à ce que j'utilise un 'MaskedTextBox' de la librairie "Extended.Wpf.Toolkit.Plus.2.1.0".

Lorsque je régénère la solution, l'erreur de build suivante s'affiche :

Le type ou le nom d'espace de noms 'Controls' n'existe pas dans l'espace de noms 'Microsoft.Windows' (une référence d'assembly est-elle manquante*?)

le code <xaml> de déclaration est comme suit :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
 <Window x:Class="myProject.Presentation.MainModule.MasterMenu"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:my="clr-namespace:CustomControls;assembly=MyGroupBox"
 Title="myApplication-Démonstration"        
 WindowStartupLocation="CenterScreen" 
        WindowState="Maximized" 
        Loaded="Window_Loaded_1"
        Closed="Window_Closed">
Les instructions 'using" dans le fichier source ‘MasterMenu.cs’ sont comme suit:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Winlease.CrossCutting.Logging;
using CustomControls;
using UITools;
les 'using' générés dans le fichier ‘MasterMenu.g.cs’ sont :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
using CustomControls;
using Microsoft.Windows.Controls;
using Microsoft.Windows.Controls.Primitives;
using RootLibrary.WPF.Localization;
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms.Integration;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;

les 2 lignes responsables de cette erreur sont :
using Microsoft.Windows.Controls;
using Microsoft.Windows.Controls.Primitives;


Bon j'ai essayé de supprimer les répertoires "bin" et "obj" du projet et j'ai effectué un clean de la solution mais toujours la même erreur.

Mon environnement de travail :
VS 2012
.Net Framework 4.5


Merçi d'avance