I’m looking at tidying up my project layout in Visual Studio and I’m wondering if there is any hack, plugin or trick to associate an .xml file with a .cs file of the same name so they appear grouped in my solution navigator/explorer.
Similar to the way the code-behind file is associated with its aspx.

Any suggestions welcome. Thanks
In your project file :
Or you could use
Group Itemscommand of VSCommands 2010 extension.Edit: Just in case your file is in a folder, don’t include the folder name in
DependentUpontag. For example if your file is inHelpersfolder: