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?