Forum Discussion
RickM2006
Jan 05, 2022Copper Contributor
VS2022 Bootstrap 5 No intellisense for asp.net core MVC project
Hello,
I just downloaded VS2022 and created an asp.net core web app MVC project. First thing I noticed was it uses bootstrap 5, but does not have intellisense.
Nothing special going on.
1. Create new project
2. Select asp.net Core Web App (Model-View-Controller)
3. Edit one of the provided .cshtml files
4. Check for intellisense, i.e. <div class="text-success">
Any suggestions?
2 Replies
Sort By
- MandavasCopper Contributor
Step 1:- Visual Studio 2022 IDE --> Tools -> Options
Step 2:- HTML --> Advanced --> Use legacy Razor editor for ASP.NET Core set as True
Step 3:- Restart Visual Studio 2022
- roman97Copper ContributorHi
There is a workaround: copy the bootstrap CSS file into wwwroot.
Best regards