错误:不存在类型或命名空间名称 "Control”

编译时出现如下错误:

命名空间中不存在类型或命名空间名称 “Control”(是否缺少程序集引用?)。

 

image

 

在引用中添加UIAutomationProvider后解决。

image

原文地址:https://www.cnblogs.com/xpvincent/p/3685050.html