csharpshare.com
Show / Hide Table of Contents

NuGet包

Gitee仓库 Prism-Documentation-CH 时间 2023-1-13

NuGet上已提供了Prism官方的Releases版本。

[!注意] 持续集成编译的包 - 如果你希望在新功能合并到代码库后立即使用它们,或者如果有需要修复的关键BUG,我们邀请你尝试我们的持续集成编译的包。只需要添加https://www.myget.org/F/prism/api/v3/index.json作为Visual Studio或Visual Studio for Mac的包源。

核心包

这些是每个平台的基本包,以及作为跨平台PCL的Prism核心组件。

Platform Assembly Package NuGet MyGet
PCL Prism.dll Prism.Core CoreNuGetShield CoreMyGetShield
WPF Prism.Wpf.dll Prism.Wpf WpfNuGetShield WpfMyGetShield
Xamarin.Forms Prism.Forms.dll Prism.Forms FormsNuGetShield FormsMyGetShield

特定的容器集成包

每个受支持的IoC容器都有自己的容器集成包,它可以与Prism一起协同设置和使用容器。其程序集使用此约定命名:Prism.Container.Platform.dll,例如Prism.Unity.Wpf.dll。从7.0版本开始,Prism就在为每个平台创建单独的容器集成包,以确保可以根据您选择的容器和平台进行选择性安装。

[!注意] 添加特定的容器集成包到你的项目,将同时引入选择的容器集成包和核心PCL库。例如:当你在WPF项目中使用Unity容器时,Prism.Unity和其他的包都会添加到项目中。

WPF

Package NuGet MyGet
Prism.DryIoc DryIocWpfNuGetShield DryIocWpfMyGetShield
Prism.Unity UnityWpfNuGetShield UnityWpfMyGetShield

Xamarin Forms

Package NuGet MyGet
Prism.DryIoc.Forms DryIocFormsNuGetShield DryIocFormsMyGetShield
Prism.Unity.Forms UnityFormsNuGetShield UnityFormsMyGetShield

组件概况

下面是根据Prism 6使用的容器和平台添加到解决方案中的所有程序集的列表,从而概括上面描述的组件包。

Prism Core

Assembly Package
Prism.dll Prism.Core

WPF

Assembly Package
Prism.Wpf.dll Prism.Wpf
Prism.Unity.Wpf.dll Prism.Unity
Prism.DryIoc.Wpf.dll Prism.DryIoc

Xamarin.Forms

Assembly Package
Prism.Forms.dll Prism.Forms
Prism.Unity.Forms.dll Prism.Unity.Forms
Prism.DryIoc.Forms.dll Prism.DryIoc.Forms
本文导航
返回顶部 ©2022-2023 csharpshare.com    冀ICP备2022026743号-1     公安备案图标 冀公网安备 13052902000206号     Icons by Icons8