Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6109465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:24:28+00:00 2026-05-23T14:24:28+00:00

In Asp.Net I create ViewModels that are the models for a particular view; one

  • 0

In Asp.Net I create ViewModels that are the models for a particular view; one viewmodel per view. Because it’s a one-to-one relationship, I like keeping the ViewModel as a nested file to the view. It’s very tidy this way.

In Asp.Net MVC files will appear nested most of the time. However, sometimes they become unnested. I can remedy this by cutting-and-pasting-and-renaming the files, which renests them. However, it sure would be nice to have the ‘nest related files’ appear in the solution explorer in Visual Studio for an MVC project.

Any ideas why that icon (“nest related files”) is missing from Visual Studio? and how might I get it back?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:24:28+00:00Added an answer on May 23, 2026 at 2:24 pm

    You can do this with the VSCommands Extension. Take a look in the studio gallery.

    The alternative is either as you have been doing – copying and pasting files, or by editing the project file directly.

    Found it – check on the VSCommands feature page – it’s listed as Group/Ungroup Items

    http://vscommands.com/features/

    To group items, in solution explorer highlight both items you want to group (parent & child), r-click the child and choose “Group Items”.

    To ungroup items, in solution explorer highlight the child you want to ungroup, r-click and choose “Ungroup Items”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For those that create ViewModels (for use by typed views) in ASP.NET MVC, do
Are there any tools that will spider an asp.net website and create a static
I'm creating a login page. I want to create ASP.NET TextBox controls that have
ASP.Net 3.5 I want to create a user control that contains the ListView and
When you create an ASP.NET page with no controls and runs it, a view
I'm experimenting with ASP.NET MVC2, in particular viewmodels and partials. My question is: Is
I am using ViewModels with asp.net MVC3. One of the thing I am curious
I'm trying to accomplish the following in ASP.Net: Create a WPF Canvas control Spin
I need to implement the classic Factory Method pattern in ASP.NET to create server
I just wanna ask if there's a way in C#/ASP.NET to create 'dynamic' tables/fields

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.