wpf中使用WindowsFormsHost报错,错误信息是:未找到类型“WindowsFormsHost”。请确保不缺少程序集引用并且已生成所有引用的程序集。 解决方法:添加引用WindowsFormsIntegration。