Hi @Anas Nabli, could you please open your Visual Studio installer and checking whether you installed the ASP.NET and web development
workload?
Then could you please go to the Individual components
blade and see whether you pick and install your desired .Net version runtime? Just like the screenshot below.
.Net SDK is required certainly, and if we un-choose it, we will see a warning popup.
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.
Best regards,
Tiny