Thanks Chris. I had already decided to start from scratch and see if I could get a simpler Silverlight app to run. I’ll try yours if I can't clear things up with a simple app.
I created a new Silverlight application called “AntsProfileTest” in VS2010, and selected the default project settings. I put a button on the design surface and built the project.
I selected “ANTS->Profile Performance” in VS2010. IE opened with the URL http://localhost:8013/
, which showed a directory listing of the project (including .csproj, web.config, etc.) I figured it would choose the defaults it thought were most appropriate for the project, but it looks like whatever it was trying to open didn’t work, and IE fell back to showing the directory contents.
I then chose “ANTS->Launch ANTS Performance Profiler”. When I hit the “…” button next to the Silverlight Application URL text box, the resulting file dialog was looking for HTML Pages, so I chose “C:\\projects\\AntsProfileTest\\AntsProfileTest.Web\\AntsProfileTestTestPage.html”
I saw the page with the button come up. So far so good.
I closed the IE window and saw a spinning animation “Summarizing results”. This continued to spin, and I stopped it after 4 minutes because it didn’t seem to be getting anywhere.
I closed VS2010 and started the profiler from the Start menu and got the same results. I wondered if VS2010 was somehow interfering, but the profiler worked the same – “Summarizing” didn’t end.
I started another profile session, this time choosing “ASP.NET web application (web development server)” as the application type.
I selected “C:\\projects\\AntsProfileTest\\AntsProfileTest.Web\\AntsProfileTestTestPage.aspx” as the file, since the “…” button’s file dialog was looking for .aspx pages.
I got a listing of the directory that contained the .aspx file I chose. I’m not sure what to choose for this option.
I know this should be simpler than I’ve been able to accomplish. I’ve looked at the help, which gives some general guidance but I’m not sure what the next steps are.
Thanks for your replies so far.
P.S. My profiler version is 126.96.36.199.