首先在ubuntu下面是不能直接运行VISUAL STUTIO的,必须借助mono开发工具和xsp4.0.那我们就来看一下在ubuntu的电脑中怎么安装这两个工具。

首先安装mono,打开终端,输入apt-get install monoDevelop.(或者在ubuntu软件中心中输入mono然后点击安装)。

ubuntu中下运行asp.net程序

然后安装mono之后,你在打开mono,首先新建一个web项目,当你在执行的时候,会提示一个错误信息。

Could not launch ASP.NET web server

The xsp4 web server cannot be found. Please ensure that it is installed.

ubuntu中下运行asp.net程序

这是因为没有安装xsp4服务,这时候你在ubuntu的软件中心,直接输入xsp4,然后点击安装就可以了。

ubuntu中下运行asp.net程序

安装成功之后,你直接打开mono进行测试,然后运行你的项目,然后可以执行了。

ubuntu中下运行asp.net程序

ubuntu中下运行asp.net程序

相关文章:

  • 2021-12-02
  • 2022-12-23
  • 2021-09-11
  • 2021-04-18
  • 2021-07-11
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
猜你喜欢
  • 2022-12-23
  • 2021-09-14
  • 2022-02-09
  • 2021-08-05
  • 2021-08-05
  • 2021-06-11
  • 2021-11-04
相关资源
相似解决方案