visual studio - How to profile methods in dependent assemblies in a unit test instrumentation performance session? -
I have a Visual Studio 2008 Unit Test Project which depends on the DLL project in the same solution. With this setup, I want to make a unit test profile with a visual studio display session. Said that test calls in the DLL projects and I want to see where the Perl bottle is in that DLL.
So far so good. At first it seemed simple: in the Visual Studio Test view, I right click on the relevant test and chose "Create a display session ..." In the following wizard, I chose instrumentation. However, after running the resulting display session, only data was shown for the methods located in the unit test dll. I then right-clicked on the "Target" folder in the Perf session and chose "Add target binary ...", so that I chose to add DLL (I released the DLL / DLL project folder under Dell). This works because DLL is still being used, but I remember the PERF data for the methods in that DLL. I tried to add DLL from different locations ...
- Unless bin / release under the DLL project folder
- under obj / release dll project folder <
... Nobody does the work.
I would appreciate that depending on how perf data gathering depends on DLL.
I had the same problem as you, but I could solve it by adding target But with a slight difference, though: I chose "Add Target Project" instead of "Add Target Binary" and then it works correctly.
It may be a problem in the Binario you have selected, or maybe I recommend you a bug in VS 2008, if possible, to connect those binaries which you have to solve in a project As the profiles are trying.
Hope it helps.