Reputation: 33
I'm receiving the following error:
Error 26 The type or namespace name 'Controls' does not exist in the namespace 'Microsoft.Windows' (are you missing an assembly reference?)
These two assemblies appear in the .g.cs file:
using Microsoft.Windows.Controls;
using Microsoft.Windows.Controls.Primitives;
When I remove them, the error returns.
Upvotes: 3
Views: 6911
Reputation: 1091
Check your XAML code. Probably there will be xmlns
pointing Microsoft.Windows.Controls.Primitives
or Microsoft.Windows.Controls
.
Upvotes: 5