How can we help you today? How can we help you today?

Setting target application default directory

Hi Sean,

ANTS Profiler shouldn't change the working directory that your
application is using, although we've heard of this problem before, but
couldn't duplicate the problem here at Red Gate.

A quick fix may be to specify the current directory in your application
by using Application.StartupPath in your source.

I hope this helps.

Brian Donahue
Red Gate Technical Support

"Sean" <junk@junk.com> wrote in message news:r%231vS0CNDHA.1176@server53...
> I noticed that most of the time it uses
> the app's default directory (by looking at the target executable's path?)
> but sometimes it uses the ANTS Profile as the CWD.
>
> Sean
>
> "Sean" <junk@junk.com> wrote in message news:6qXT2bCNDHA.1176@server53...
> > Hi,
> >
> > I'm profiling a .NET Winforms application.
> > Is it possible to set its current working directory?
> >
> > Thanks,
> > Sean
> >
> >
>
>
Brian Donahue
0

Comments

1 comment

  • Brian Donahue
    ANTS Profiler, form versions 1.3 and up, allows you to set the application's working directory. This shouldn't be a problem any more.
    Brian Donahue
    0

Add comment

Please sign in to leave a comment.