The name "WindowChrome" does not exist in the namespace "http://schemas.microsoft.com/winfx/2006/xaml/presentation/shell". ..\FirstFloor.ModernUI\FirstFloor.ModernUI\Themes\ModernWindow.xaml"

Jun 6, 2013 at 7:08 PM
Hi When opening the ModernWindow.xaml in VS2012 and viewing in the split code/design view I get a bunch of "does not exist in the namespace"... errors for

WindowChrome, SystemParameters2, SystemCommands .

Is there something I am missing?
Coordinator
Jun 7, 2013 at 6:21 PM
I'm getting a 'ModernWindow.xaml cannot be edited in the Design view.' message. Where do you see these errors?
Jun 7, 2013 at 6:32 PM
Visual Studio 2012

In the split view design window "Invalid Markup". I think this may have to do with .net 4.5.

Error Info:

Error 2 The name "WindowChrome" does not exist in the namespace "http://schemas.microsoft.com/winfx/2006/xaml/presentation/shell".
Error 1 The name "SystemParameters2" does not exist in the namespace "http://schemas.microsoft.com/winfx/2006/xaml/presentation/shell". \FirstFloor.ModernUI\FirstFloor.ModernUI\Themes\ModernWindow.xaml 27
Error 3 The name "SystemCommands" does not exist in the namespace "http://schemas.microsoft.com/winfx/2006/xaml/presentation/shell".
Aug 6, 2013 at 10:55 AM
Im getting this too. I don't therefore think changes I make are getting included in the build.
Feb 10, 2015 at 9:56 PM
I have the same errors with WPF 4
Error 1 The name "SystemParameters2" does not exist in the namespace "http://schemas.microsoft.com/winfx/2006/xaml/presentation/shell".
Error 2 The name "WindowChrome" does not exist in the namespace "http://schemas.microsoft.com/winfx/2006/xaml/presentation/shell".
Error 4 The name "SystemCommands" does not exist in the namespace "http://schemas.microsoft.com/winfx/2006/xaml/presentation/shell".
Error 11 The attachable property 'IsHitTestVisibleInChrome' was not found in type 'WindowChrome'.


but the application builds and run successfully with those errors