Hi all,
I recently tried out my C# program on a system on which the .NET Framework Redistributable had been installed (as opposed to the Framework SDK).
I expected it to run fine, but it threw an exception when trying to initialise a ".NET CLR Memory" / "#Bytes in all Heaps" performance counter. It said it couldn't find the performance counter category.
Sure enough, when I run Perfmon on that system, there are no .NET performance objects.
Anyone know why or how to remedy this? Am I doing something wrong?
Best regards,
Robin.
I recently tried out my C# program on a system on which the .NET Framework Redistributable had been installed (as opposed to the Framework SDK).
I expected it to run fine, but it threw an exception when trying to initialise a ".NET CLR Memory" / "#Bytes in all Heaps" performance counter. It said it couldn't find the performance counter category.
Sure enough, when I run Perfmon on that system, there are no .NET performance objects.
Anyone know why or how to remedy this? Am I doing something wrong?
Best regards,
Robin.