dotnet / dotnet/aspnetcore

ASP.NET Core Web App (MVC) and other project types lost some templates

Open
#62,353 0 comments 0 reactions 0 assignees View on GitHub
area-mvc
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

# OS
Windows 24H2
# Visual Studio Version
17.14.5
# .NET Version
.NET 8 and 9
# Description
I'm trying to develop a project with ASP.NET Core Web App and following the tutorial, and I can't finish scaffolding pages like https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/adding-model?view=aspnetcore-9.0&tabs=visual-studio#scaffold-movie-pages , I followed the steps and then it show error to me.

![Image](https://github.com/user-attachments/assets/5e3142a4-af3a-481b-a842-369c9cb8bbee)

![Image](https://github.com/user-attachments/assets/29fd0e8b-1c8b-4c52-a905-5f0eda3148f3)

Add - New Item pane doesn't have a template called "MVC Controller with views, using Entity Framework".

I also tested other types of projects, including:
- ASP.NET Core Web App (MVC)
- ASP.NET Core Web App (Razor Pages)
- Blazor Web App
- Blazor Server App

None of them can finish adding scaffold items with Add - New Scaffolded Item/

Please help.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.