如何Visual Studio 2008的内部运行Ant? [英] How to run Ant inside Visual Studio 2008?

查看:125
本文介绍了如何Visual Studio 2008的内部运行Ant?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道是否有任何人有关于如何Visual Studio 2008中的内部运行Ant我期待执行一些pretty常见的Ant任务,如选择目标,以构建文件中运行任何想法。

I'm wondering if anyone out there has any ideas about how to run Ant inside Visual Studio 2008. I'm looking to perform some pretty common Ant tasks such as selecting a target to run inside a build file.

我也碰到过和我认识的N​​Ant以及MSBUILD更preferred构建工具为ASP.NET项目,但我只对一些想法有关IDE中运行Ant的兴趣。

I have come across and am aware of NANT as well as MSBUILD as more preferred build tools for ASP.NET projects, but I am only interested in some ideas about running Ant within the IDE.

在此先感谢!

推荐答案

作为一个快速和肮脏的解决方案,你可以使用的外部工具添加... 的选项,在工具菜单中。

As a quick and dirty solution you could add it using the External Tools... option in the Tools menu.

您就可以看到在输出窗口中的蚂蚁输出,你可以通过它像在命令行上当前项目目录的各种东西。

You can then see the Ant output in the Output window, and you can pass it various things like the current Project directory on the command line.

您也可以将键盘快捷键这在工具菜单重新present外部工具 Tools.ExternalCommandXX 命令。

You can also assign keyboard shortcuts to the Tools.ExternalCommandXX commands which represent the external tools in the Tools menu.

这篇关于如何Visual Studio 2008的内部运行Ant?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆