Home > database >  When to install .net SDK and default .net version on Windows?
When to install .net SDK and default .net version on Windows?

Time:03-04

I'm reading a book from Mark J Price, where he states:

  • Since .NET Framework 4.5.2, it has been an official component on the Windows operating system.

vs

  • .NET Core is fast-moving and because it can be deployed side by side with an app, it can change frequently.

I don't really get this. Whether I use one or the other, I do still need to install the SDK and runtime for both of them? So what does he mean?

CodePudding user response:

In all cases you only need the (partial) runtime to run, not the SDK. The SDK is only for development.

As for the rest:

  • on some operating systems a .net version is available by default. These versions can change beteen OS (Windows) versions. You'll need to see which version is applicable for you.
  • .net core (and it's follow up .net 5 ) is not always standard available on the OSses. But .net core (and .net 5 ) offers the ability to include the required runtime components in the build. This will increase your build by approx. 140 MB, but you can be sure you have all the required prerequisites.

You can pick whatever suits you best but be aware of the end-of-life-dates of the framework: enter image description here

enter image description here

  • Related