views:

10

answers:

2

I'm a C# guy, but I need to work on a vb.net application.

In a C# web app, you can expand the codebehind and designer files by clicking on the little arrow to the left of the .aspx file name.

However, I don't see that in the vb.net project. Instead I have to open the aspx, then hit F7 to get to the code behind.

How can I tell studio to show me the codebehind files in the project explorer? .. other than picking Show All Files which also lists things that are not part of my project?

A: 

What happens if you click on the file and press F7 (View Code)?

John Saunders
That will take me to the codebehind file.. Is there a way to just navigate there from the solution explorer?
Chris Lively
A: 

Apparently, there is no way to do this for vb.net projects other than to set the solution explorer to Show All Files.

I filed a change request on Microsoft Connect at https://connect.microsoft.com/VisualStudio/feedback/details/590046/show-related-code-behind-files-for-vb-net-web-applications-in-solution-explorer


An interesting response was:

This is standard behavior for all VB projects, and is in keeping with the VB team's general philosophy that their users are not sophisticated enough to understand advanced concepts like related files in a nested hierarchy.

(emphasis added). Further comments after that are probably not necessary.

Chris Lively