I also saw similar problems reported in ReSharper which did not lead to compile/runtime errors.
These were mostly seen when using "{x:Type ...}"
or "{x:Static ...}"
markup, causing ReSharper to report "Cannot resolve symbol 'Type'"
or "Cannot resolve symbol 'Static'"
errors.
Additionally there were many errors like "Invalid markup extension type: expected type is '<type>', actual type is '...Extension'"
.
The problem resolved itself when I added a reference to the System.Xaml
assembly.