Applications developed in VS 2010 cannot be profiled properly
I have a windows application which is devoleped in VS 2010.
My Windows application is refering a classlibrary and calling a publicing method exposed in the class.
During the profiling, it shows hotspot only from the source file in my parent application. Its not pointing to the real class which causes this issue.
If I devolepe the same application in VS 2008 and start an analysis, it willl give proper result.
Could you please help on this issue?
I'm guessing that inter-procedural optimization may account for your issue. If so, you turn off the Qip and ipo options and rebuild, and in many cases still get similar performance with better resolution in reference to source code.
Intel VTune Amplifier XE supports profiling of C# code. There is an option in Amplifier XE project properties called "Managed code profiling mode". Try to set it to "Mixed". Can you also provide a code sample that you're analysing so we also try it?