For a couple of months I've been using Prism 6 with the following XAML namespace declaration:
xmlns:prism="http://www.codeplex.com/prism"
But I noticed this namespace URL (which redirects to GitHub) also exists:
xmlns:prism="http://prismlibrary.com/"
Please confirm which namespace is the correct one to use?
As you might know, Prism has been taken over by the community and effort has been made to bring a new release with Prism 6. The old namespace
xmlns:prism="http://www.codeplex.com/prism"
might have been in the first pre-release packages of Prism 6 that you tried. But the team decided on switching to the new namespace.
xmlns:prism="http://prismlibrary.com/"
This is also mentioned in the release notes for v 6.0.0.
Fix XAML namespace issue (http://www.codeplex.com/prism)
Created new xmlns namespace http://prismlibrary.com/
So you should only be using the new namespace after upgrading to the lastest version. If you happen to see the use of an old namespace, don't hesitate to report an issue on the GitHub repository.
Go with xmlns:prism="http://prismlibrary.com/". The codeplex.com namespace is a legacy namespace which, I suppose, could go away in the future. Code comments in the source on GitHub indicate it is legacy, too.
I use the prismlibrary.com namespace in all my Prism references. Works well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With