Set working directory with NetMemoryProfilerConsole

Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
Post Reply
linkstef
Posts: 1
Joined: Tue Jan 25, 2011 11:47 am

Set working directory with NetMemoryProfilerConsole

Post by linkstef » Tue Jan 25, 2011 11:57 am

Is it possible to set the working directory of the application to profiler when the console executable is used?

Thanks.

Andreas Suurkuusk
Posts: 1029
Joined: Wed Mar 02, 2005 7:53 pm

Re: Set working directory with NetMemoryProfilerConsole

Post by Andreas Suurkuusk » Tue Jan 25, 2011 8:36 pm

A command line argument for setting the working directory is currently not available. To specify the working directory, you need to start profiling using a profiler project. To do this, create a profiler project with the wanted settings AND the working directory of the application. Then you can start the profiler based on the project by using the /project command line argument. For more information see http://memprofiler.com/onlinedocs/avail ... ptions.htm and http://memprofiler.com/onlinedocs/profilerprojects.htm.
Best regards,

Andreas Suurkuusk
SciTech Software AB

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests