If you would like to give dotnet on Z a test drive and don’t yet have RHEL 8.5
I have created a docker image. Follow these steps to build and run the “Hello
World” program:
[neale@aussie-3:~/docker]$ docker run --rm -it clefos/dotnet
dotnet@f5fcd3f45edd:~$ dotnet new console --output consapp
The template "Console App" was created successfully.
Processing post-creation actions...
Running 'dotnet restore' on /home/dotnet/consapp/consapp.csproj...
Determining projects to restore...
Restored /home/dotnet/consapp/consapp.csproj (in 114 ms).
Restore succeeded.
dotnet@f5fcd3f45edd:~$ cd consapp/
dotnet@f5fcd3f45edd:~/consapp$ dotnet build
Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
All projects are up-to-date for restore.
consapp -> /home/dotnet/consapp/bin/Debug/net6.0/consapp.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:02.94
dotnet@f5fcd3f45edd:~/consapp$ dotnet run
Hello, World!
dotnet@f5fcd3f45edd:~/consapp$ ls -l
total 16
-rw-r--r-- 1 dotnet dotnet 105 Nov 24 03:04 Program.cs
drwxr-xr-x 3 dotnet dotnet 4096 Nov 24 03:04 bin
-rw-r--r-- 1 dotnet dotnet 249 Nov 24 03:04 consapp.csproj
drwxr-xr-x 3 dotnet dotnet 4096 Nov 24 03:04 obj
Neale
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390