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 t
File Nesting extension for visual studio is a good one. It has about 500K downloads at the time of writing this answer. I added it personally to my VS 2015 and it was working fine (haven't tried it with VS 2017 yet).