'Struggling with gettng Visual Studio Code to display Console.Writeline() in Ubuntu 20.04
I have Ubuntu 20.04 install on a VirtualBox VM on my MacBook Pro. following the instructions from: Ubuntu Visual Studio Code I used the Software tool in Ubuntu to install Visual Studio Code, .NetCore SDK and .NET Runtime 5.0. I then Launched Visual Studio, Open a Folder that I created under my $HOME directory. Open VSCode Terminal and Typed: dotnet new console
A new project was created with a Program.cs file without errors.
using System;
namespace Stake_pool
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
I then typed: dotnet run
No Hello World was generated. I just got returned to my prompt. No errors were generated.
I am not sure about how to get Visual Studio to function properly in Ubuntu, after installing the core code and supporting framework.
Please help to get this going, if possible.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
