question

deskcheck1-0579 avatar image
0 Votes"
deskcheck1-0579 asked deskcheck1-0579 commented

How to download .netcoreapp3.1 on Linux CentOS7

Hi,

How do I get the .netcore runtime 3.1 version to download to Linux. I tried downloading from:
https://dotnet.microsoft.com/en-us/download/dotnet/3.1

but I realized it's the ASPNET version that gets downloaded. I don't need the ASPNET version since mine is a console application.

Or does it not matter? Can I use the ASPNET .net core 3.1 version to run my console application executable on Linux?

Appreciate any suggestions.

dotnet-runtimeoffice-teams-linux-itprodotnet-cli
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Bruce-SqlWork avatar image
0 Votes"
Bruce-SqlWork answered deskcheck1-0579 commented

The sdk has everything, and there are two runtimes for Linux. Asp.net core and .net runtime. The desktop runtime is windows only.

If you want to build an app, then install the sdk, if you just want to run a console app, install .net runtime for Linux.

Note: 3.1 is nearing end of life, you should use .net 6

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Oh, no. You mean my .net3.1 won't get any support soon? That's a real bummer.

I just need to run a console app (so I'm trying to install the runtime version for Linux but ASPNET version keeps getting installed, which is for WEB application). So I'm looking for where I can download just the .net runtime for Linux.

But now, I'll need to change the framework to .net 6 before I even move over to Linux.

Thanks for the info.

0 Votes 0 ·

the docs say its:

sudo yum install dotnet-runtime-3.1

0 Votes 0 ·

Will .net6 run on Visual Studio 2019? What's the difference between Community and Professional Editions? It seems like .net6 runs only with VS 2022?

0 Votes 0 ·