1

I have a custom tool "NafestisGenerator" of which I need to apply to every ".ntf" file. The question is, how do I tell visual studio (using the Custom tool Generator sample from Microsoft) to use the "NafestisGenerator" custom tool on every ".ntf" file?

JustinKaz
  • 620
  • 3
  • 10
  • 30

1 Answers1

-2

I'm pretty sure (87%) that you do this in Windows Explorer.

I notice that if I double-click a .DOC file in my project, it fires up Microsoft Word. Similarly, double-click on an .XLSX file and it fires up Excel.

So, register .NTF as an extension that your tool handles. Then, when you double-click on an .NTF file in VS, it will fire up your tool.

Allan W
  • 580
  • 1
  • 3
  • 8
  • I'm not sure that is what I'm looking for. The "Custom Tool" is a file property in visual studio. I need some way to default that value if the extension is .ntf. I hread it might be a registry thing, but I've had no luck. – JustinKaz Apr 21 '11 at 13:13