How to find asp.net core version
To check which .NET Core Version is installed you can run one of the following commands on the command prompt.
dotnet --version // Display .NET Core SDK version.
dotnet --info //Display .NET Core information.
dotnet --list-runtimes // Display the installed runtimes.
dotnet --list-sdks // Display the installed SDKs.
Also, you can view all .NET Core versions Installed on the system by navigating to the installation folder on below path.
%ProgramFiles%\dotnet\sdk
If you are using the visual studio ide whether 2017, 2019, 2022 or any other version all you need to do is go to the solution explorer, and click on the properties. It will display the version of framework you are working on.
dotnet --info
The above command at your terminal will provide all the info