Resharper doesn't play well with XAML?

Posted by John Weldon on Stack Overflow See other posts from Stack Overflow or by John Weldon
Published on 2010-05-01T00:08:15Z Indexed on 2010/05/01 0:17 UTC
Read the original article Hit count: 567

Filed under:
|
|
|
|

I've been noticing a pattern with ReSharper (both 4.5 and 5).

Very often (almost always) when I have solution-wide analysis turned on, and WPF code in my solution, ReSharper will mark a number of the .xaml.cs files as being broken.

When I navigate to the file, sometimes it magically updates and displays no errors, and other times I have to open other files that are not being correctly read and close them again to force resharper to correctly analyze them.

I assume it has something to do with the temporary .cs code that is generated with XAML, but does anyone know why this is actually happening, and if there is a work around? Should I just file a bug report with JetBrains? Does anyone else experience this?

© Stack Overflow or respective owner

Related posts about vs2008

Related posts about VS2010