Skip to content
Discussion options

You must be logged in to vote

It was removed. ReactiveUI.SourceGenerators 4.0.0 dropped [IViewFor] in favour of ReactiveUI.Binding (#502, listed under breaking changes in the v4.0.0 release). ReactiveUI 26.0.1 brings in SourceGenerators 4.2.0, and the attribute library in that package has Reactive, ReactiveCommand, IReactiveObject, BindableDerivedList, ReactiveCollection and the WinForms hosts, but no IViewForAttribute. Referencing the package directly won't help, 4.2.0 is the latest on NuGet.

The docs you found are ahead of the release. It was added back on main in #524 ("[IViewFor], [IViewFor<T>] and [IViewFor("TypeName")] are back"), which is what the current README describes, but that hasn't shipped yet.

Until it …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@glen-nicol
Comment options

Answer selected by glen-nicol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants