I have a fresh install of windows 11.
I installed .net from here: https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-6.0.300-windows-x64-installer
It went through the installer, and I accepted all the defaults.
The SDK says it includes the runtime.
I should now be able to open a new cmd window and type "dotnet".
When I do I get:
'dotnet' is not recognized as an internal or external command,
operable program or batch file.
I tried running the installer again, and doing repair, but this did not help. Nor did reboot.
How do you install .net?
If I look at my path, it contains: ";C:\Users\me\.dotnet\tools"
But if I look in the tools dir, I only see:
06/03/2022 12:47 PM <DIR> .
06/03/2022 12:47 PM <DIR> ..
06/03/2022 12:47 PM 5 6.0.300_IsDockerContainer.dotnetUserLevelCache
06/03/2022 12:47 PM 64 6.0.300_MachineId.dotnetUserLevelCache
06/03/2022 12:47 PM 64 MachineId.v1.dotnetUserLevelCache
06/03/2022 12:47 PM <DIR> TelemetryStorageService
3 File(s) 133 bytes
Any ideas?
Do I also need to install .net core?
==== Update 1 ====
Well, I found a partial solution.
Installing the x64 bit installs without error, but dotnet is not runnable after.
I just tried installing the ARM64 version, and after install, now I can run the dotnet command.
However, when I try to run
dotnet tool install --global ServiceBusAdmin
It says:
C:\Program Files\dotnet>dotnet tool install --global ServiceBusAdmin
Could not execute because the application was not found or a compatible .NET SDK is not installed.
Possible reasons for this include:
* You intended to execute a .NET program:
The application 'tool' does not exist.
* You intended to execute a .NET SDK command:
It was not possible to find any installed .NET SDKs.
Install a .NET SDK from:
https://aka.ms/dotnet-download
I guess there is no way to run .net console apps on windows 11 running in parallels on mac.