I've been trying to get some instrumented profiling going for one method (and children) in a large C# 2.0 application using the built in VSTS 2005 or 2008 performance tools.
However, I can't find any form of the /include command that will work - the profiler just keeps failing to find the method. The docs are so bad that all I can do is guess how it works. So I guess I should be using our fully qualifed name (/include:Company.Product.Class.Method). The MSDN entry says to use C++ syntax (/include:Company::Product::Class::Method) which sounds plain wrong and of course doesn't work. I've tried all the obvious variations, and all fail.
Can anybody enlighten me as to the correct syntax for this command, please?
(the method is in an assembly that is used by the main .exe - I've therefore also tried adding both the .exe and the assembly to the Targets explicitly to make sure that it looks in the right place for the method, but that also doesn't help)