Command Line Arguments

I tried to run the client application, but it takes in a argument from the command line (args[]). In Visual Studio I can set that as part of the project profile, but when I run it in ANTS it doesn't pass in the value so my code throws an error. Any workaround?

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 New member
    Hello John,

    ANTS Profiler doesn't interface with the visual studio project in any way, which is what it would need to do if you wanted it to read the project settings. When profiling a .NET desktop application, there is a textbox where you can specify any arguments to an executable. You can save your ANTS Profiler projects for later use, which would prevent you from having to enter the arguments every time you profile this executable.
Sign In or Register to comment.