开发者

Resharper doesn't play well with XAML?

开发者 https://www.devze.com 2022-12-28 15:07 出处:网络
I\'ve been noticing a pattern with ReSharper (both 4.5 and 5). Very often (almost always) when I have solution-wide 开发者_如何学JAVAanalysis turned on, and WPF code in my solution, ReSharper will ma

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

Very often (almost always) when I have solution-wide 开发者_如何学JAVAanalysis 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?


ReSharper 6.0 provides much improved XAML support.


Resharper 7.1 seems to have improved on XAML support, and solve the issues still present in 6.0

XAML support is now considerably smoother in terms of code completion, typing assistance, naming style control, and code generation

See "XAML Support Refresh in ReSharper 7.1"

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号