'Visual Studio 2022 - Add HTML file and Add Javascript File options are not available

I have upgraded to VS 2022 recently. Now in the solution explorer, when I right-click a folder and want to add an HTML file or javascript file, the options are not available in the context menu. This was available in the earlier version.

Is there a way to get this option back?



Solution 1:[1]

Yes, you can add it from menu File > New > File > Choose Html/Js File. Ctrl + N => to create a new file.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Nan