.net 7 is no longer supported. I would recommend, changing the project to .net 8, or find a more current training module. you can install .net 7 sdk and it will run side by side .net 8:
Cant do the exercise due to an incoorrect installed .net version
Karl Schilla
20
Reputation points
I'm trying to do the first exercise in the training, but it say wrong version of .net installed need 7.0.400 but version 8.0.303 has been installed. I tried to install 7.0.400 myself, but althogh the installation suceeded, the command to build the application still says the wrong version of .net is installed:
dotnet run
The command could not be loaded, possibly because:
- You intended to execute a .NET application: The application 'run' does not exist.
- You intended to execute a .NET SDK command: A compatible .NET SDK was not found.
Requested SDK version: 7.0.400
global.json file: /home/karl/sas/global.json
Installed SDKs:
8.0.303 [/usr/share/dotnet/sdk]