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

【Discard】注释生成的Warpper报错问题 #14

Closed
w313611109 opened this issue Mar 23, 2023 · 1 comment
Closed

【Discard】注释生成的Warpper报错问题 #14

w313611109 opened this issue Mar 23, 2023 · 1 comment

Comments

@w313611109
Copy link

1679598673554

不知道是配置问题,还是包没有更新问题,生成的Warpper代买报错的3个错误
8>D:\Project\ProjectD\Server\Geek.Server.Hotfix\Geek.Server.CodeGenerator\Geek.Server.CodeGenerator.Agent.AgentGenerator\ServerCompAgentWrapper.g.cs(19,51,19,78): error CS0029: 无法将类型“System.Threading.Tasks.ValueTask”隐式转换为“System.Threading.Tasks.Task”
8>D:\Project\ProjectD\Server\Geek.Server.Hotfix\Geek.Server.CodeGenerator\Geek.Server.CodeGenerator.Agent.AgentGenerator\ServerCompAgentWrapper.g.cs(19,51,19,78): error CS1662: 无法将 lambda 表达式 转换为预期委托类型,因为块中的某些返回类型不可隐式转换为委托返回类型
8>D:\Project\ProjectD\Server\Geek.Server.Hotfix\Geek.Server.CodeGenerator\Geek.Server.CodeGenerator.Agent.AgentGenerator\ServerCompAgentWrapper.g.cs(19,44,19,50): error CS8030: 转换为 void 返回委托的匿名函数不能返回值

@w313611109
Copy link
Author

已经解决 感谢大佬

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

1 participant