2

I'm a bit stuck. I have a Windows Server 2019 standard According to the registry I have dotNet 4.8 installed But I have no dotnet.exe anywhere. This usually lives in C:\Program Files\dotnet I need the dotnet CLI so I can run tests, e.g. dotnet test [<PROJECT> | <SOLUTION> | <DIRECTORY> | <DLL>] What do I need to install to get the CLI in order to run the tests using dotnet?

Lukasz Szczygielek
  • 2,768
  • 2
  • 20
  • 34
UncleZen
  • 41
  • 2

1 Answers1

1

dotnet tool is a part of .NET Core, so you have to install .NET 5 for example. You can check what version of .NET Core has been released on this page.

Tool is a part of SDK.

.NET Framework 4.8 is not a part of the .NET Core.

Lukasz Szczygielek
  • 2,768
  • 2
  • 20
  • 34
  • So I need .net Core, is that the runtime or the SDK? If Runtime, is it the one for running console, desktop or server apps? I want to run unit/specflow tests – UncleZen Oct 20 '21 at 13:56