NuGet Packages
Core Packages
These are the base packages for each platform, together with the Prism's Core assembly as a cross-platform PCL.
Platform | Assembly | Package | Version |
---|---|---|---|
PCL | Prism.dll | Prism.Core | |
WPF | Prism.Wpf.dll | Prism.Wpf | |
Xamarin.Forms | Prism.Forms.dll | Prism.Forms | |
Windows 10 UWP | Prism.Windows.dll | Prism.Windows |
Container-specific packages
Each supported IoC container has its own package assisting in the setup and usage of that container together with Prism. The assembly is named using this convention: Prism.Container.Platform.dll, e.g. Prism.Unity.Wpf.dll.
Following matrix shows the platform specific support currently available.
Package | Version | WPF | Win10 UWP | Xamarin.Forms |
---|---|---|---|---|
Prism.Autofac (*) | X | X | ↓ | |
Prism.Autofac.Forms | - | - | X | |
Prism.DryIoc | X | - | - | |
Prism.DryIoc.Forms | - | - | X | |
Prism.Mef (**) | X | - | - | |
Prism.Ninject (*) | X | ↓ | ||
Prism.Ninject.Forms | - | - | X | |
Prism.StructureMap | X | |||
Prism.Unity (*) | X | X | ↓ | |
Prism.Unity.Forms | - | - | X |
(*) As Xamarin Forms also supports UWP now, adding Prism.Unity, Prism.Ninject, or Prism.Autofac puts in some incorrect dependencies. Therefore we created a new package for Xamarin Forms projects.
(**) MEF is supported with WPF for compatibility with previous versions. It will not be added to Windows 10 UWP or Xamarin Forms.
Note that adding the container-specific package to your project, will also pull in the correct platform-specific package and the core PCL library. E.g. when you'd like to use Unity in a WPF project, add the Prism.Unity package and the rest will be pulled in as well.
Overview of assemblies
To recapitulate the packages described above, this is the list of all assemblies added to your solution by Prism 6 depending on the container and platform used.
Prism PCL
Assembly | Package |
---|---|
Prism.dll | Prism.Core |
WPF
Assembly | Package |
---|---|
Prism.Wpf.dll | Prism.Wpf |
Prism.Unity.Wpf.dll | Prism.Unity |
Prism.Mef.Wpf.dll | Prism.Mef |
Prism.Autofac.Wpf.dll | Prism.Autofac |
Prism.StructureMap.Wpf.dll | Prism.StructureMap |
Prism.Ninject.Wpf.dll | Prism.Ninject |
Prism.DryIoc.Wpf.dll | Prism.DryIoc |
Xamarin.Forms
Assembly | Package |
---|---|
Prism.Forms.dll | Prism.Forms |
Prism.Unity.Forms.dll | Prism.Unity.Forms |
Prism.Ninject.Forms.dll | Prism.Ninject.Forms |
Prism.Autofac.Forms.dll | Prism.Autofac.Forms |
Prism.DryIoc.Forms.dll | Prism.DryIoc.Forms |
Universal Windows Platform
Assembly | Package |
---|---|
Prism.Windows.dll | Prism.Windows |
Prism.Unity.Windows.dll | Prism.Unity |
Prism.Autofac.Windows.dll | Prism.Autofac |