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#?我究竟做错了什么?