Add a custom tool in vs.net 2005 beta1

xiaoxiao2021-03-06  42

I am a new hand, there is no inoperation, please correct

ILDASM is a commonly used tool. There are generally two methods: Enter iLDASM in the RUN window, then open the debugged program; find the generated .exe file directory in CMD, enter ildasm app.exe (this article App.exe as an example). Both methods need to find the generated .exe file, have to find it in a layer of directory, generally this location is relatively deep, for example my project is d: / my documents / Visual Studio / Projects / Csharp / App / app / bin / debug, find really dizzy, so forced me to think about a simple way. Compiling programs in VC.NET can be referred to immediately, but there is no similar operation in VC # .NET, so I immediately think of the custom menu.

VS.NET 2005 can add a custom menu is I accidentally discovered, and there is an External Tools under the Tool menu, which gives me full imagination, so I have to add the ILDASM tool to the menu. Proceed as follows:

1. Open Tools-> EXTERNAL TOOLS

2. Enter the name you want in Title, such as ILDASM; Enter Ildasm.exe; Arguments, the small arrow on the right, select Target Name; Similar, Initial Directory Select Target DicRectory.

3. Add .Exe after the characters in Arguments. The final point is determined.

This allows you to directly retrore the results of the current engineering in the menu, it is best to select the user output windows, so you won't flash the command line window. This method is equally applicable in VS.NET 2003.

转载请注明原文地址:https://www.9cbs.com/read-51566.html

New Post(0)