Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“IAsyncOperation<StorageFile>”不包含“GetAwaiter”的定义 #4

Open
pengyuwei opened this issue Feb 2, 2020 · 2 comments
Open

Comments

@pengyuwei
Copy link

在vs2019编译,提示:
'“IAsyncOperation<StorageFile>”不包含“GetAwaiter”的定义,并且找不到可接受类型为“IAsyncOperation<StorageFile>”的第一个参数的扩展方法“GetAwaiter”(是否缺少针对“System”的 using 指令?)

代码上已经using System;了

@xulihang
Copy link

需要添加两个引用,我重新做了一个控制台的版本:https://github.com/xulihang/WinRTOCR
踩了不少坑

@zh-h
Copy link
Owner

zh-h commented Nov 15, 2020

@xulihang 我也不太懂vs工程的依赖管理,我之前换电脑重现编译这个也配置了好久依赖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants