Ants profiler failed to launch the tested application

I am trying to profile my desktop application performance. Sometimes the application can be launched, but most of time the application could not be started. The exception message says the application could not load the application configuration file.

Any hints?


Thanks

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hi Cherry,

    Thanks for asking. There could be a few potential causes for an application behaving this way while being profiled. The simplest would be that the application's working directory needs to be changed to the location of the .config file. This setting is available in the profiling wizard right under the application to profile.

    It may be a good idea to drill into this exception and try to find the reason why the file load failed. For instance, was the file not found? Was there an IO error, or a security exception?
Sign In or Register to comment.