我正在尝试使用桌面扩展构建UWP。由于这是我第一次尝试,因此我遵循了tutorial来帮助我入门。我在解决方案中的所有项目都是用C ++编写的。
但是,在完成所有设置之后,当我尝试构建解决方案时,看到以下错误。
error C2653: 'FullTrustProcessLauncher': is not a class or namespace name
error C3861: 'LaunchFullTrustProcessForCurrentAppAsync': identifier not found
我最初遇到问题是因为IntelliSense报告未找到FullTrustProcessLauncher
。通过添加对UWP项目的Windows Desktop Extensions for UWP
引用,我能够减轻该错误。之后,IntelliSense不再抱怨,但是编译时我开始出现错误。
如何解决编译时出现的这些错误?我想念什么吗?