如何默认 Visual Studio 文件属性“自定义工具”对于给定的文件扩展名?
我有一个自定义工具“NafestisGenerator”,我需要将其应用于每个“.ntf”文件。问题是,如何告诉 Visual Studio(使用 Microsoft 的自定义工具生成器示例)在每个“.ntf”文件上使用“NafestisGenerator”自定义工具?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我非常确定 (87%) 您是在 Windows 资源管理器中执行此操作。
我注意到,如果双击项目中的 .DOC 文件,它会启动 Microsoft Word。同样,双击 .XLSX 文件就会启动 Excel。
因此,将 .NTF 注册为您的工具处理的扩展名。然后,当您在 VS 中双击 .NTF 文件时,它将启动您的工具。
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.