Clarification of "we are limited to profiling .Net 2.0 code only"

From Technical FAQ: Visual Studio Team System 2005 Profiler Tool :

Q: Does the profiler work with native code? Does the profiler work with mixed mode code? Does the profiler work with older .NET CLR versions?

A: The profiler works in both sampling and instrumentation modes with both native applications and mixed mode applications. However, we are limited to profiling .Net 2.0 code only so .Net 1.x code (by itself or in mixed mode with native) will not work with the profiler in either sampling or instrumentation modes.

I'm not not 100% clear on the meaning of the above. Does it mean that any assembly compiled with VC7.x/.NET 1.x era compilers cannot be profiled under any circumstances? Or does it merely mean that in order to profile .NET 1.x assemblies that execution must take place under the .NET 2.0 runtime?

[1615 byte] By [BernMcCarty] at [2007-12-21]
# 1

Hey Ben,

So what this means is that when you complile your application you need to compile it against .NET v2.0. So all of your references need to be against dlls that are from version 2.0 of the .net framework as opposed to an earlier version. .NET 1.x assemblies can not be profiled, even if you are running them under the .NET 2.0 runtime.

Thanks,

Ian Huff

IanHuff at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Visual Studio Performance Tools (Profiler)...

Visual Studio Team System

Site Classified