How to change JetBrains.Profiler.AttachHelper.exe installation path?
I want to use Self-Profiling on my WPF application.
Once I do DotMemory.EnsurePrerequisite(downloadTo: _snapshotUrlPathSnap), the JetBrains.Profiler.AttachHelper.exe is installed on "C:\Users\%User%\AppData\Local\Temp\JetBrains\dotMemory.exe\Guxumejowusecobu\windows-x86" where my company policy does not allow users to start applications( not even As Administrator).
JetBrains.Profiler.AttachHelper.exe is called when DotMemory.Attach(config) function is executed.
I want to change JetBrains.Profiler.AttachHelper.exe install location to -> ( D:\Work) where this application can be executed. Anyone knows how to do this?
Thank you
Please sign in to leave a comment.
Hi! Thanks for your report.
For now you can copy the directory Guxumejowusecobu and place where you have rights to run executables. Then, change the path in the call to the method EnsurePrerequisite to this new path
or if you rename the directory to something meaningful e.g "ProfilerSelfApi"
In the future we will add a possibility to specify where the console dotMemory single exe unpack it's content.
Hi, Thank you for response!
Your workaround is working well.