MonoDevelop故障“未知的MSBuild故障";在Linux上 [英] MonoDevelop Failure "Unknown MSBuild Failure" on Linux

查看:295
本文介绍了MonoDevelop故障“未知的MSBuild故障";在Linux上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在Ubuntu计算机上安装了MonoDevelop,并试图运行一个hello world,只是为了对其进行测试:

I just installed MonoDevelop on my Ubuntu machine, and attemtepted to run a hello world, just to test it out:

using System;

public class HelloWorld
{
    static public void Main ()
    {
        Console.WriteLine ("Hello Mono World");
    }
}

...但是在构建时会出现未知的MSBuild故障"错误

...but when building it gives an "Unknown MSBuild failure" error

在使用MonoDevelop之前,我已经测试过Mono,并验证了它是否有效.

I have tested Mono before using MonoDevelop and verified that it works.

推荐答案

这很可能是由于编译过程中的一个或多个错误而引起的,奇怪的是,MonoDevelop没有告诉您.

This is most likely due to an error or errors during compilation, which oddly enough, MonoDevelop is not telling you.

假设您自己已经安装了mono,请打开一个终端并从那里进行编译():

Assuming you have mono itself installed, open a terminal and compile from there(source):

mcs HelloWorld.cs

这篇关于MonoDevelop故障“未知的MSBuild故障";在Linux上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆