.Net Profiling API approaches
问题 I have a feeling I may already know the answer to this question, but I'll ask it anyway. Are there any better ways of using the .Net Profiling API than the COM/Managed C++ route? My reluctance to follow the suggested COM approach is as such: Effort, it's a lot of legwork to get started Don't like the magic involved in hooking up the C++ dlls, not easy to redistribute with projects Feels hard to unit test Don't want to behavior in C++. I could create an interop layer, but that's even more work