Andrew Connell

Sort your Visual Studio item templates

Aren't you just as annoyed as I am when you try to find the right item template when creating a new item in Visual Studio? Why are XML files nested in the middle of the list when they should really come at the end. It's a damn hunt-and-peck exercise! Well, enter K. Scott Allen's sorting utility that he wrote in PowerShell! Very cool stuff... I've run this on all my VM's and it had no problems. Gotta love PowerShell! There's another utility that does the same thing, just not of the PowerShell flavor, that you can get here. By the way, my copy of Windows PowerShell In Action by Bruce Payette showed up the other day... this is a KILLER book for getting up to speed with PowerShell... kudos to Bruce! » OdeToCode: Sorting the Visual Studio "Add New Item" Dialog with PowerShell» FixVsItemSortOrder Technorati tags: powershell...

Aren’t you just as annoyed as I am when you try to find the right item template when creating a new item in Visual Studio? Why are XML files nested in the middle of the list when they should really come at the end. It’s a damn hunt-and-peck exercise!

Well, enter K. Scott Allen’s sorting utility that he wrote in PowerShell ! Very cool stuff… I’ve run this on all my VM’s and it had no problems. Gotta love PowerShell! There’s another utility that does the same thing, just not of the PowerShell flavor, that you can get here .

By the way, my copy of Windows PowerShell In Action by Bruce Payette showed up the other day… this is a KILLER book for getting up to speed with PowerShell… kudos to Bruce!

» OdeToCode: Sorting the Visual Studio “Add New Item” Dialog with PowerShell » FixVsItemSortOrder

Andrew Connell
Founder & Chief Course Artisan, Voitanos LLC. | Microsoft MVP
Written by Andrew Connell

Andrew Connell is a web developer with a focus on Microsoft Azure & Microsoft 365. He’s received Microsoft’s MVP award every year since 2005 and has helped thousands of developers through the various courses he’s authored & taught. Andrew’s the founder of Voitanos and is dedicated to delivering industry-leading on-demand video training to professional developers. He lives with his wife & two kids in Florida.