Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Visual Studio 有一个称为自定义工具的功能。每次我保存文件或单击“运行自定义工具”菜单项时,自定义工具都会运行。有没有办法让它只在我单击“运行自定义工具”菜单项时运行?
我不相信有任何方法可以从自定义工具代码中进行区分。这可能是显而易见的,但听起来普通的 VS 插件更适合您的情况。