简体   繁体   English

如何在Visual Studio代码中运行.Net代码?

[英]How to run .Net code in visual studio code?

I am trying to make a simple hello world application on Visual Studio Code for Mac. 我试图在Visual Studio Code for Mac上制作一个简单的hello world应用程序。 I am following the tutorial from this website by Microsoft. 我下面从教程网站由微软。

As far as I can tell, there is no button I can click to run my application and output the results of it... I tried to configure a task from this website, and when I try to "configure a task runner", it says "tasks are only available in a workspace folder". 据我所知,没有按钮可以单击以运行我的应用程序并输出其结果...我试图从网站配置任务,而当我尝试“配置任务运行器”时,它说“任务仅在工作空间文件夹中可用”。

Can someone please explain to me how I can run my simple application on visual studio code for Mac? 有人可以告诉我如何在Mac的Visual Studio代码上运行我的简单应用程序吗?

Figured it out. 弄清楚了。 All you have to do is press fn + F5 on mac and it'll run the code... 您所要做的就是在Mac上按fn + F5键,它将运行代码...

This video was very helpful in teaching how to do it. 这部影片对教授如何做非常有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM