Externial Annotations in R# 9

I am trying to use Prism.Mvvm, and I was fairly certinan that BindableBase was included in the external annotations, however when I try to click on the hammer for a property it is behaving as if nothing has the NotifyPropertyChangedInvocatorAttribute.

Capture.PNG

I tried to check to see if there was somthing wrong with the JetBrains.ExternalAnnotations plugin (I was almost certin it included Prism) but I can't find it in the list of extensions for R# 9

Capture.PNG

Does ExternalAnnotations nolonger show up in the extensions list like it did for R# 8? If it does not and it is included by default where can I check to see if Prism.Mvvm.BindableBase is in the included in the list or not?

2 comments
Comment actions Permalink

Hi Scott. ReSharper doesn't ship with support for the Prism.Mvvm package on NuGet, but ships support for what I guess is an older version of Prism - it supports the Microsoft.Practices.Prism.dll, and knows about the NotificationObject that implements INotifyPropertyChanged. (Personally, I don't know the history of Prism - has it been refactored, renamed?) The support can be added with annotations, and I've raised an issue on YouTrack to add the support to ReSharper. You can comment and track the issue here: https://youtrack.jetbrains.com/issue/RSRP-447359

Also, the ExternalAnnotations plugin doesn't exist in ReSharper 9, as such. It's still there, but behind the scenes. Implementing it as a bundled plugin in ReSharper 8 had certain side effects (people uninstalling it and losing TONS of functionality, or people not updating it), so we've made it a hidden extension that is automatically kept up to date.

0
Comment actions Permalink

Yes, in Prism 5 the portion that deals with MVVM got refactored out to a sepreate assebly so it could be used without dependency on the heavier weight portions like Regions and Modules. See this page "What's New in Prism Library 5.0 for WPF" specifically the Changes in the Prism Library - Code Organization section.

Thank you for making the ticket.

0

Please sign in to leave a comment.