Interop.MSScriptControl 运行出错提示:80040154没有注册类

1.错误画面

2.修改配置管理器,平台选择x86


3.重新生成就好了。

原文地址:https://www.cnblogs.com/dennysong/p/5468512.html