Hello @Vivek Kahar (Student) ,
Welcome to Microsoft Q&A forum.
I guess this issue only appears on .NET based projects on your side. If you use a .NET Framework(different from .NET) based project, it may work.
But, of course, .NET based projects should also work correctly. I think .NET was not installed correctly, or not set correctly.
Please kindly check following:
- Search
Edit the system environment variables
in Windows Search box, open it, click Environment Variables button, find System variables -> Path, select and click Edit, make sure thatC:\Program Files\dotnet\
is listed higher thanC:\Program Files (x86)\dotnet\
. - Install .NET 8.0 separately and manually from here: Download .NET 8.0.
Best Regards,
Tianyu
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.