If I understand correctly you are right clicking the project node or one of its folders in Solution Explorer and then selecting Add \ Class
. Once you do that you are getting thrown into the Item UX but it is not selecting the Class template?
First question, do you have a C#/C++/VB project open in Visual Studio? Screenshots might help here. A class only makes sense in a code project. Non-code projects, like SSRS projects, don't use classes.
In Solution Explorer right click the project or any of its folders and select Add \ New Item
. In the Item UX do you have Class as an option? If not then either you don't have a coding project open or you are missing workloads.
You can also try creating a new console app and confirming the Add Class works there. That would eliminate configuration issues.
Please clarify what you're seeing and what you're doing. Also please confirm what type of project you have.