Prerequisites
Describe the bug 🐞
Using this iOS in only library using latest nuget version 3.4.0. First the documentation states.:
Install the ReactiveUI.Binding NuGet package. The source generator is automatically included.
This appears not to be correct. Results in no generated binding run time crash.
The ReactiveUI.Bindings.SourceGenerators has to be manually included.
But the main issue after that:
Compilation failes because __KVOObserver is not included in the generated code.
I worked around this by manually adding the helpers classes from Plugins/Observation/KVOObservationPlugin.cs to my project ( classes __KVOObserver, __KVOObservable ). I have no idea whyn these are not emitted in the generated code but with this workaround everything functions as expected
Steps to reproduce
- Add both ReactiveUI.Binding and ReactiveUI.Binding.SoureGenerators to a net10.0-ios project
- Use BindToWay in a ReactiveUI.ReactiveViewController
- Compilation Error in BindTwoWayDispatch.g.cs error CS2046: The Type or namespace name '__KVOObservable<>' could not be found
Reproduction repository
No response
Expected behavior
Compiles without issues. (This works with workaround by manually added the __KVO helpers classes to the project)
Screenshots 🖼️
No response
IDE
Visual Studio Code
.NET version
.NET 10
Target framework(s)
net10.0-ios
Operating system
No response
OS version
No response
Device
No response
ReactiveUI version
23.2.28
Additional information ℹ️
No response
Prerequisites
Describe the bug 🐞
Using this iOS in only library using latest nuget version 3.4.0. First the documentation states.:
Install the ReactiveUI.Binding NuGet package. The source generator is automatically included.This appears not to be correct. Results in no generated binding run time crash.
The ReactiveUI.Bindings.SourceGenerators has to be manually included.
But the main issue after that:
Compilation failes because __KVOObserver is not included in the generated code.
I worked around this by manually adding the helpers classes from Plugins/Observation/KVOObservationPlugin.cs to my project ( classes __KVOObserver, __KVOObservable ). I have no idea whyn these are not emitted in the generated code but with this workaround everything functions as expected
Steps to reproduce
Reproduction repository
No response
Expected behavior
Compiles without issues. (This works with workaround by manually added the __KVO helpers classes to the project)
Screenshots 🖼️
No response
IDE
Visual Studio Code
.NET version
.NET 10
Target framework(s)
net10.0-ios
Operating system
No response
OS version
No response
Device
No response
ReactiveUI version
23.2.28
Additional information ℹ️
No response