There are several considerations to keep in mind:
- Silverlight code is executed in web browser;
- Silverlight runtime is started once for all browsers of the one type.
- Only silverlight 4.0 and higher runtime is supported. (Previous runtimes doesn't support profiling API)
Because of that it is recommended to:
- Install Silverlight 4 developer runtime;
- Before profilation close all browsers and browser processes of the type that you are going to exercise;
- Start dotTrace as standalone not from Visual Studio.