Why are code-behind files not visible in a VB.NET Web Application project?

ProfK picture ProfK · Aug 17, 2011 · Viewed 12k times · Source

I am trying to convert a VB.NET web site project to a web application project, yet the in web application project, my code-behind files are not visible unless I set the solution explorer "show all files" option. Why is this? What setting can I change so that my code behind files are always visible?

Answer

jmoreno picture jmoreno · Aug 20, 2011

You can set VS to always show all files. That's the best soluution although a really ugly way to avoid this would be to rename the files for the code behind.