XBuild Engine Version 12.0 Mono,Version 3.2.8.0
我试图在XBuild中构建我的C#解决方案.它在Windows中构建非常好,但不是在ubuntu中.我收到以下错误:
warning : Project has unkNown Toolsversion '14.0'. Using the default tools version '4.0' instead. Target GetFrameworkPaths: /usr/lib/mono/4.5/Microsoft.Common.targets: warning : TargetFrameworkVersion 'v4.5.2' not supported by this toolset (Toolsversion: 4.0). error CS0246: The type or namespace name 'RedditSharp' Could not be found. Are you missing an assembly reference? error CS0246: The type or namespace name `IReadOnlyCollection' Could not be found. Are you missing an assembly reference?
和类似.我已经将RedditSharp.dll添加到GAC,所以我不知道为什么它找不到它,我当然不知道为什么它找不到IReadOnlyCollection.我怀疑这一切都是因为我不能使用Toolsversion 14.0.
有没有人知道在Linux上构建C#?我究竟做错了什么?
解决方法
原文地址:https://www.jb51.cc/csharp/92218.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。