一、简介
本博客实现加载制定目录的ModuleA.DLL。
工程目录:
加载DLL:
本博客和上两篇博客的功能和文件几乎都一样,只是在Bootstrapper.cs稍微有点不同(其他文件我不罗列了)。
Bootstrapper.cs:
using Microsoft.Practices.Unity;
using Prism.Unity;
using Modules.Views;
using System.Windows;
using Prism.Modularity;
namespace Modules
{
class Bootstrapper : UnityBootstrapper
{
protected override DependencyObject CreateShell()
{
return Co