I am using visual studio 2022 .net 6. All the other cshtml files within the same project are not showing any issues. Only in one cshtml file, the namespaces are not able to be found. All the namespaces are already added in using statement. Also, the values in a string inside the html tag are being recognized falsely as namespaces by visual studio. I have tried deleting obj and bin folder are rebuilding. I also tried removing and adding the package references.
- I have tried deleting obj and bin folder are rebuilding.
- I also tried removing and adding the package references.
Hchavan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
5