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则有着其他语言 ...
最新文章
- R语言plotly包可视化线图(line plot)、使用restyle参数自定义设置可视化结果中线条的颜色、使用按钮动态切换线条的颜色(change line color with button)
- Linux内核:容器底层cgroup如何使用
- Builder模式和Spring框架
- C# 子类实例化基类 基类使用不了子类的方法_C#高级编程面试考题
- 基于netty4.x开发时间服务器
- python脚本文件格式_Python 基础语法_Python脚本文件结构
- 美团知识图谱问答技术及在商家推荐回复场景中的实践与探索
- Golang的io.go和io.pipe库的笔记
- 【cl】本地安装maven的jar包报错Artifact is already in the local repository
- 【机器学习】萌新必学的 Top10 算法
- Document/View 模式下的窗口重绘
- 2012-1-31学习日记
- raw socket 编程实例
- 使用windows内存-内存映射文件
- matlab零序五次谐波,基于MATLAB的高次谐波接地选线保护仿真设计
- Hadoop 3.x 笔记(配置、命令、脚本、重要图示、代码实现)
- 解决C++中调用Python脚本的LNK2001错误
- CENTOS: 安装memSQL
- 【注释张豪华版 Path酷炫动画】极速get花式Path (支付宝支付成功动画)
- 高通AR加视屏解决方案
热门文章
- 计算机桌面word不见怎么办,电脑桌面图标突然消失或则Word,excel突然无法打开该怎么办...
- 从充电宝行业说起,美团和饿了么谁会笑到最后?
- linux下文件的属性 r, w, x 分别代表什么意思?
- 前端常用的地图框架(webGIS)
- 【超分辨率】3分钟带你读懂
- vip2-day22
- 初学者如何提高跑步速度_2020年假日:您最喜欢的跑步者的16个礼物创意
- #每天一篇论文264/365 Enforcing geometric constraints of virtual normal for depth prediction
- 看了大厂数据分析师的工资表,我酸了...真的人均50w?
- 牛逼了!JDK 16 ZGC 实现最大暂停时间不超过1ms