AutoRunCustomTool icon indicating copy to clipboard operation
AutoRunCustomTool copied to clipboard

Add support for projects other than VB and C#

Open leftler opened this issue 11 years ago • 3 comments

I use tt files in my database project on Visual Studio 2013. Unfortunately, the AutoRunCustomTool does not show up under Properties (neither does "Custom Tool" for that matter) when you are looking at a .sql file in a database project.

Showing that it shows up in a console project: http://imgur.com/DZdLc71

Showing that it does not show up in a database project: http://imgur.com/bUxycbi

leftler avatar Mar 17 '14 19:03 leftler

I've been looking into this, but so far I haven't found how to make it work...

Basically, I need to register an extender provider for each project type I want to support, based on the CATID. For C# and VB projects, there are predefined constants (VSConstants.CATID.CSharpFileProperties_string, VSConstants.CATID.VBFileProperties_string), but I can't find the CATID for database projects...

thomaslevesque avatar Mar 17 '14 21:03 thomaslevesque

Are you looking for the GUIDs for these project types?

https://www.mztools.com/articles/2008/mz2008017.aspx

i8beef avatar Jun 07 '17 21:06 i8beef

Thanks @i8beef, but these are project type GUIDs, which are not the same as the CATIDs I'm looking for...

thomaslevesque avatar Jun 07 '17 22:06 thomaslevesque