Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug fix (build).
What is the current behavior? (You can also link to an open issue here)
The release of Xamarin.Forms 2.5 broke the build. Here's what happened, to the best of my understanding...
Xamarin.Forms 2.5 is the first version to have different platforms depend on different versions of the Android support libraries:
For reasons I don't fully understand, this was causing the NuGet package install in the XamForms event generation step to fail with:
But I don't see why we even need to install dependencies when installing the Xamarin.Forms package for the purposes of generating events. Therefore, I disabled the installation of dependencies to get past this problem.
However, the second problem was that XF 2.5 includes events that depend on types that are not in 2.4. Therefore, in order to build the generated events, the ReactiveUI.XamForms.Events library had to also depend on 2.5. And I figured it makes sense for the ReactiveUI.XamForms library to follow suit.
What might this PR break?
Anyone who isn't on XF 2.5 yet won't be able to upgrade.
Please check if the PR fulfills these requirements
Other information: