-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
INavigationParameters location + Prism 7.2 support changes #2
Comments
Ouch, tracked down to this change in 7.2 Prism PrismLibrary/Prism#1348 I'm starting to use some features of 7.2 so I'll investigate why this breaks netcoreapp project |
Oh this should be just because you are using 7.1 on Ease.NUnit.DryIoc.PrismForms, so I need to take the source and make it target 7.2 because of this INavigationParameters change :) |
Ok that worked, probably it would be a good a idea to have a pre-release nuget with the Prism 7.2-pre references? For now I forked and fixed here https://github.com/keozx/Ease |
Another thing to be aware of, if you were using .NET framework for a Prism.Forms test project you may get the wrong Prism library (WPF version). Use .NET Core for the test app to get the netstandard version of the prism libraries. I'll take a look at your fork, and look into a pre-release build. |
There is also an issue with Navigation in 7.2 :/ changed INavigationService methods to extensions of INavigationServiceExtensions PrismLibrary/Prism@753fe5a Getting Looking into it... |
Ok so I fixed it (for now) I'll leave this open in case I come across another issue, basically what happens is that internally while navigating is using the new interface IPlatformNavigationService due the alignment of APIs, I changed the mock registration like this:
For the VerifyNavigation methods I had to treat INavigationServic as IPlatformNavigationService
Because this interface does not provide the optional parameters for some reason had to add those to every method like:
With this the verifynavigation() now works |
Upgrading the Prism (and other references) is on my short term list. Hoping to have a lot of updates coming soon. |
It would be nice if you can upgrade to PRISM 8 preview, it has support for Xamarin 4.6 and a few of breaking changes. |
once I get all the appveyor/build stuff figured out I may create a preview branch to build preview builds with support |
Hi @duanenewman testing this I found an issue trying to use the VerifyNavigation() saying
error CS7069: Reference to type 'INavigationParameters' claims it is defined in 'Prism', but it could not be found
Tried to use this I found in your blog
But still can't find it, any suggestions? though this should not be needed since is still same netstandard
Thanks!
The text was updated successfully, but these errors were encountered: