Error running exe file from Performance Profiler

Code profiling for .NET Developers

Error running exe file from Performance Profiler

Postby gajo357 » Sat Nov 24, 2012 12:47 pm


I have a program that runs from both Visual Studio and from "outside", as exe file.
It even runs from Memory Profiler. But when I run it from Performance Profiler I get an error:
"Could not load file or assembly 'mscorlib'. . ."

How can I avoid this?
Posts: 1
Joined: Sat Nov 24, 2012 12:37 pm

Postby Chris.Allen » Mon Nov 26, 2012 3:35 pm

This is not a well known issue- we'll have to look into it. As a quick check can you try running ANTS explicitly as administrator (right click on the ANTS Profiler UI.exe)?

Secondly, if this process is .Net 4.0 or higher, try using the 'Attach-to-process' profiling option.
Posts: 579
Joined: Thu Mar 12, 2009 4:17 pm

Return to ANTS Performance Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests