dotnet / dotnet/website-feedback

No message in the Terminal output

Open
#1,490 0 comments 0 reactions 0 assignees View on GitHub
area-tutorials needs-triage
Dominant language
No language data
Stars
7
Forks
57
PR merge metrics
No merged PRs in 30d

Description

### URL

https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/intro

### Operating system

linux mint 22.3 - Cinnamon 64-bit

### More information about your system

[code]
System:
Kernel: 6.17.0-35-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc
Desktop: Cinnamon v: 6.6.7 tk: GTK v: 3.24.41 wm: Muffin v: 6.6.3 vt: 7 dm: LightDM v: 1.30.0
Distro: Linux Mint 22.3 Zena base: Ubuntu 24.04 noble
Machine:
Type: Laptop System: ASUSTeK product: ASUS TUF Gaming A15 FA506IH_FA506IH v: 1.0
serial:
Mobo: ASUSTeK model: FA506IH v: 1.0 serial: uuid:
UEFI: American Megatrends v: FA506IH.316 date: 03/12/2021
Battery:
ID-1: BAT1 charge: 29.2 Wh (100.0%) condition: 29.2/48.2 Wh (60.5%) volts: 12.2 min: 11.9
model: ASUS A32-K55 type: Li-ion serial: N/A status: full
Device-1: nintendo_switch_controller_battery_0003:057E:2009.000A model: N/A serial: N/A
charge: Full status: full
CPU:
Info: 6-core model: AMD Ryzen 5 4600H with Radeon Graphics bits: 64 type: MT MCP smt: enabled
arch: Zen 2 rev: 1 cache: L1: 384 KiB L2: 3 MiB L3: 8 MiB
Speed (MHz): avg: 1956 high: 3993 min/max: 1400/3000 boost: enabled cores: 1: 3991 2: 1400
3: 1774 4: 1775 5: 1400 6: 1400 7: 1400 8: 1775 9: 1773 10: 1400 11: 1400 12: 3993
bogomips: 71868
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: ASUSTeK driver: nvidia
v: 580.159.03 arch: Turing pcie: speed: 8 GT/s lanes: 8 ports: active: none empty: DP-1
bus-ID: 01:00.0 chip-ID: 10de:1f99 class-ID: 0300
Device-2: AMD Renoir [Radeon RX Vega 6 ] vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-5
pcie: speed: 16 GT/s lanes: 16 ports: active: HDMI-A-1,eDP-1 empty: none bus-ID: 05:00.0
chip-ID: 1002:1636 class-ID: 0300 temp: 38.0 C
Device-3: IMC Networks USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s
lanes: 1 bus-ID: 1-4:3 chip-ID: 13d3:56a2 class-ID: 0e02 serial:
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: amdgpu,nvidia
unloaded: fbdev,modesetting,nouveau,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x286mm (40.00x11.26")
s-diag: 1055mm (41.55")
Monitor-1: HDMI-A-1 mapped: HDMI-A-0 pos: left model: Samsung LF24T35 serial:
res: 1920x1080 hz: 60 dpi: 92 size: 528x297mm (20.79x11.69") diag: 606mm (23.9") modes:
max: 1920x1080 min: 720x400
Monitor-2: eDP-1 mapped: eDP pos: primary,right model: Najing CEC Panda 0x004d res: 1920x1080
hz: 144 dpi: 142 size: 344x194mm (13.54x7.64") diag: 395mm (15.5") modes: max: 1920x1080
min: 640x480
API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0 drv: nvidia device: 1
drv: radeonsi device: 3 drv: swrast gbm: drv: kms_swrast surfaceless: drv: nvidia x11:
drv: radeonsi inactive: wayland,device-2
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 25.2.8-0ubuntu0.24.04.1 glx-v: 1.4
direct-render: yes renderer: AMD Radeon Graphics (radeonsi renoir ACO DRM 3.64 6.17.0-35-generic)
device-ID: 1002:1636
API: Vulkan v: 1.3.275 layers: 9 surfaces: xcb,xlib device: 0 type: integrated-gpu driver: N/A
device-ID: 1002:1636 device: 1 type: discrete-gpu driver: N/A device-ID: 10de:1f99 device: 2
type: cpu driver: N/A device-ID: 10005:0000
Audio:
Device-1: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 8
bus-ID: 01:00.1 chip-ID: 10de:10fa class-ID: 0403
Device-2: AMD Renoir Radeon High Definition Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 05:00.1 chip-ID: 1002:1637 class-ID: 0403
Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: N/A pcie: speed: 16 GT/s lanes: 16
bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-4: AMD Family 17h/19h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
speed: 16 GT/s lanes: 16 bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.17.0-35-generic status: kernel-api
Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse status: active
2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK RTL8111/8168/8411 driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: down mac:
Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter vendor: Lite-On
driver: rtw88_8822ce v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0
chip-ID: 10ec:c822 class-ID: 0280
IF: wlp3s0 state: up mac:
Bluetooth:
Device-1: Lite-On Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.0 speed: 12 Mb/s lanes: 1
bus-ID: 3-1:2 chip-ID: 04ca:4005 class-ID: e001 serial:
Report: hciconfig ID: hci0 rfk-id: 2 state: up address: bt-v: 5.1 lmp-v: 10
sub-v: d2e3 hci-v: 10 rev: cc6 class-ID: 7c010c
Drives:
Local Storage: total: 476.94 GiB used: 197.83 GiB (41.5%)
ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN530 SDBPNPZ-512G-1002 size: 476.94 GiB
speed: 31.6 Gb/s lanes: 4 tech: SSD serial: fw-rev: 21106000 temp: 35.9 C scheme: GPT
Partition:
ID-1: / size: 467.89 GiB used: 197.82 GiB (42.3%) fs: ext4 dev: /dev/nvme0n1p2
ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/nvme0n1p1
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 679.4 MiB (33.2%) priority: -2 file: /swapfile
USB:
Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s lanes: 1
chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-2:2 info: Razer USA BlackWidow V3 type: keyboard,mouse,HID
driver: hid-generic,usbhid interfaces: 5 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 500mA
chip-ID: 1532:024e class-ID: 0300
Device-2: 1-4:3 info: IMC Networks USB2.0 HD UVC WebCam type: video driver: uvcvideo
interfaces: 2 rev: 2.0 speed: 480 Mb/s lanes: 1 power: 500mA chip-ID: 13d3:56a2 class-ID: 0e02
serial:
Hub-2: 2-0:1 info: super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003
class-ID: 0900
Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s lanes: 1
chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 3-1:2 info: Lite-On Bluetooth Radio type: bluetooth driver: btusb interfaces: 2
rev: 1.0 speed: 12 Mb/s lanes: 1 power: 500mA chip-ID: 04ca:4005 class-ID: e001 serial:
Hub-4: 3-2:3 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s lanes: 1 power: 100mA
chip-ID: 05e3:0610 class-ID: 0900
Device-1: 3-2.2:4 info: Razer USA Basilisk V3 X HyperSpeed type: mouse,keyboard
driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 100mA
chip-ID: 1532:00b9 class-ID: 0301 serial:
Device-2: 3-2.3:5 info: Nintendo Switch Pro Controller type: HID driver: nintendo,usbhid
interfaces: 1 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 500mA chip-ID: 057e:2009 class-ID: 0300
serial:
Hub-5: 4-0:1 info: super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003
class-ID: 0900
Hub-6: 4-2:2 info: Genesys Logic Hub ports: 4 rev: 3.2 speed: 5 Gb/s lanes: 1
chip-ID: 05e3:0626 class-ID: 0900
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 38.0 C
Fan Speeds (rpm): cpu: 2200
Repos:
Packages: 2154 pm: dpkg pkgs: 2145 pm: flatpak pkgs: 9
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/mullvad.list
1: deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=amd64] https: //repository.mullvad.net/deb/stable stable main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http: //packages.linuxmint.com zena main upstream import backport
2: deb http: //archive.ubuntu.com/ubuntu noble main restricted universe multiverse
3: deb http: //archive.ubuntu.com/ubuntu noble-updates main restricted universe multiverse
4: deb http: //archive.ubuntu.com/ubuntu noble-backports main restricted universe multiverse
5: deb http: //security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.sources
1: deb [arch=amd64 arm64] https: //brave-browser-apt-release.s3.brave.com stable main
Active apt repos in: /etc/apt/sources.list.d/unityhub.sources
1: deb https: //hub.unity3d.com/linux/repos/deb stable main
Active apt repos in: /etc/apt/sources.list.d/vscode.sources
1: deb [arch=amd64] https: //packages.microsoft.com/repos/code stable main
Info:
Memory: total: 8 GiB note: est. available: 7.18 GiB used: 4.39 GiB (61.2%)
Processes: 426 Power: uptime: 16h 1m states: freeze,mem,disk suspend: deep wakeups: 1
hibernate: platform Init: systemd v: 255 target: graphical (5) default: graphical
Compilers: gcc: 13.3.0 Client: Unknown python3.12 client inxi: 3.3.34
[/code]

### Description

Edit your code
In the Program.cs file, add the highlighted line after the code that prints Hello, World!, like the following:

Program.cs

Copy
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
Console.WriteLine("The current time is " + DateTime.Now);
Save the Program.cs file and select Run project associated with the file again. If you succeed, you should see an output similar to the following:

Terminal
Hello, World!
The current time is 6/14/2026 2:37:04 PM

**I am not getting any output in the terminal from my program.cs**

### dotnet --info

Usage: dotnet [path-to-application]
Usage: dotnet [commands]

path-to-application:
The path to an application .dll file to execute.

commands:
-h|--help Display help.
--info Display .NET information.
--list-runtimes [--arch ] Display the installed runtimes matching the host or specified architecture. Example architectures: arm64, x64, x86.
--list-sdks [--arch ] Display the installed SDKs matching the host or specified architecture. Example architectures: arm64, x64, x86.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.