vs 2015编译linux,linux – 使用mono / xbuild编译VS2015应用程序时出现问题
我是编程新手,但不是
Linux的新手.我最近在C#中开始编程,我们使用Visual Studio 2015来编写应用程序,因此使用MSbuild来编译它们.但是,在家里我想用mono编译所有东西,但是当我尝试时我得到了几个错误并且它拒绝编译.
这是我运行的程序:
$xbuild Dice_Game.sln
这是stderr:
Errors:
/home/dj/programs/c#_programs/Dice_Game/Dice_Game.sln (default targets) ->
(Build target) ->
/home/dj/programs/c#_programs/Dice_Game/Dice_Game.csproj (default targets) ->
/usr/local/lib/mono/xbuild/12.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->
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: The predefined type `System.UInt64' is not defined or imported
CSC: error CS0518: The predefined type `System.Single' is not defined or imported
CSC: error CS0518: The predefined type `System.Double' is not defined or imported
CSC: error CS0518: The predefined type `System.Char' is not defined or imported
CSC: error CS0518: The predefined type `System.Int16' is not defined or imported
CSC: error CS0518: The predefined type `System.Decimal' is not defined or imported
CSC: error CS0518: The predefined type `System.Boolean' is not defined or imported
CSC: error CS0518: The predefined type `System.SByte' is not defined or imported
CSC: error CS0518: The predefined type `System.Byte' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt16' is not defined or imported
CSC: error CS0518: The predefined type `System.String' is not defined or imported
CSC: error CS0518: The predefined type `System.Enum' is not defined or imported
CSC: error CS0518: The predefined type `System.Delegate' is not defined or imported
CSC: error CS0518: The predefined type `System.MulticastDelegate' is not defined or imported
CSC: error CS0518: The predefined type `System.Void' is not defined or imported
CSC: error CS0518: The predefined type `System.Array' is not defined or imported
CSC: error CS0518: The predefined type `System.Type' is not defined or imported
CSC: error CS0518: The predefined type `System.Collections.IEnumerator' is not defined or imported
CSC: error CS0518: The predefined type `System.Collections.IEnumerable' is not defined or imported
CSC: error CS0518: The predefined type `System.IDisposable' is not defined or imported
CSC: error CS0518: The predefined type `System.IntPtr' is not defined or imported
CSC: error CS0518: The predefined type `System.UIntPtr' is not defined or imported
CSC: error CS0518: The predefined type `System.RuntimeFieldHandle' is not defined or imported
CSC: error CS0518: The predefined type `System.RuntimeTypeHandle' is not defined or imported
CSC: error CS0518: The predefined type `System.Exception' is not defined or imported
4 Warning(s)
31 Error(s)
Time Elapsed 00:00:01.2374970
好像我可以做这个工作……我只是没有足够的经验与Mono使其工作.任何帮助,将不胜感激.
vs 2015编译linux,linux – 使用mono / xbuild编译VS2015应用程序时出现问题相关推荐
- 不装mono,你的.NET程序照样可以在Linux上运行
让.NET应用程序在linux上运行,目前通用的做法就是在Linux上安装mono,然后通过"mono your.exe"命令运行这个程序. 这种运行.net程序的办法有两个弱点, ...
- cpprestsdk编译安装linux,使用C++ REST SDK开发简单的Web(HTTP)服务
C++ REST SDK是微软开源的一套客户端-服务器通信库,提供了URI构造/解析,JSON编解码,HTTP客户端.HTTP服务端,WebSocket客户端,流式传输,oAuth验证等C++类,方便 ...
- linux mono运行c 1,不装mono,你的.NET程序照样可以在Linux上运行!
让.NET应用程序在linux上运行,目前通用的做法就是在Linux上安装mono,然后通过"mono your.exe"命令运行这个程序. 这种运行.net程序的办法有两个弱点, ...
- Linux 之旅 21:编译安装软件
Linux 之旅 21:编译安装软件 图源:pexcel 开源软件的安装与升级 可执行文件 通常,源代码只有被编译成二进制的可执行文件后才能在操作系统上被用户直接运行,比如: [icexmoon@xy ...
- Android源码编译及替换成自己编译的linux内核
/*************************************************************************************************** ...
- 【AT91SAM9261EK】 编译运行Linux Kernel 2.6.39
前言 经过多次尝试,基于AT91SAM9261EK的Linux 内核终于启动了,内核版本先回退到了:Linux 2.6.39,之所以回退这个版本,因为这个版本是linux-at91最老的分支 环境 a ...
- linux编译grpcswift,grpc使用记录(一)编译(mscv/gcc)
目录 1.编译前的准备工作 1.下载源码 git clone https://github.com/grpc/grpc.git 2.下载依赖项,grpc的依赖项都以子模块的方式记录在third_par ...
- linux内核编译 kbuild,Linux内核编译系统kbuild简介
前言 这篇文章并非原创,是偶然在linuxjournal上面看到的一篇文章,感觉写得比较清晰,例子详尽,所以这里对文章进行简单整理,算是一个笔记.本文主要是关于kbuild的简单介绍,不会介绍linu ...
- Linux服务器部署mono+jexus发布asp.net网站
Linux服务器部署mono+jexus发布asp.net网站 Mono简介 1.mono的背景 由于Linux/Unix等有更强的安全性.运行效率高.拥有大量优秀的开源组件,而.Net则有着其他语言 ...
最新文章
- python用途与前景-Python 未来发展前景怎么样?
- 什么意思_手机HD是什么意思 手机信号区显示hd是什么意思
- Apache启动过程(PHP_MINIT_FUNCTION的调用)
- html元素嵌套与并列,HTML的元素嵌套规则
- 另类玩法:通过 DNS 进行文件传输
- Linux工作笔记-查看某程序安装路径及可执行文件相关链接库
- 一切想要发财的人,你都要善于看到隐形的东西
- 【Java学习笔记之十一】Java中常用的8大排序算法详解总结
- DC学院学习笔记 (十):SQLite及MongoDB
- 2. PHP 自动转义函数
- Windows下搭建SVN服务器 - Visual SVN server
- springboot的测试类
- 《实战突击:Java Web项目整合开发》简介及源码
- Topaz DeNoise AI 人工智能降噪插件
- PdShell16扫描内容不符合数据库规范整合
- win10操作系统如何整理桌面
- 全志定制编译Android,全志H3 Android定制化文档
- (加入显示电量功能)模仿魅族、华为、小米电池续航管理软件, 动态水波纹滚动的圆形小球View
- Atitit ffmpeg功能表 多媒体处理类库工具 音频视频 1.1.ffmpeg音视频合成 1.2.Atitit 视频音频分离 提取法 1.3.ffmpeg对视频封装和分离 使用ffmpeg对
- 计算机应用基础(高起专)作业,西安交通大学19年5月补考《计算机应用基础》作业考核试题 (含主观题)【参考答案】...