Hi @David Lane-Joynt ,
Welcome to Microsoft Q&A!
According to your description, it seems be caused by multiple .NET installations on your system.
C:\Program Files (x86)\dotnet\dotnet.exe (x86——no SDK)
C:\Program Files\dotnet\dotnet.exe (x64——Microsoft .NET SDK 5.0.403)
You can remove c:\Program Files (x86)\dotnet\dotnet.exe from System Variables Path and try again.
For more details, you can also refer to the similar issue:
https://stackoverflow.com/a/67049415/16678270
Sincerely,
Anna
*
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.