小编Xav*_*ier的帖子

在Ubuntu 15.04上使用Mono导入库错误

在为Ubuntu下载Mono 4.2(稳定版)之后,我在C#程序中导入系统库时出错,以建立与APNS服务器的连接(Apple推送通知).

要构建,我使用xbuild命令(无参数).

注意:构建在Windows 10上成功执行.

CSC: error CS0518: The predefined type `System.Object' is not defined or imported
CSC: error CS0518: The predefined type `System.ValueType' is not defined or imported
CSC: error CS0518: The predefined type `System.Attribute' is not defined or imported
CSC: error CS0518: The predefined type `System.Int32' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt32' is not defined or imported
CSC: error CS0518: The predefined type `System.Int64' is not defined or imported
CSC: error CS0518: …
Run Code Online (Sandbox Code Playgroud)

c# ubuntu mono build apple-push-notifications

8
推荐指数
1
解决办法
4892
查看次数

标签 统计

apple-push-notifications ×1

build ×1

c# ×1

mono ×1

ubuntu ×1