In Visual Studio 3 files are typically grouped together:
- filename.aspx
- filename.aspx.cs
- filename.aspx.designer.cs
Is there a way to add another file that grouping so that it can be collapsed and out of view?
- filename.aspx
- filename.aspx.cs
- filename.aspx.designer.cs
- customfile.cs
Thanks
If you open the .csproj file, you’ll see how it’s done. Try following the pattern to add your new file.
For example: