I am having trouble using the ANTS memory profiler on an ASP.NET website. In my VS 2008 solution, I have the website selected as the Startup project. When I select "Profile Memory" from the ANTS 5 menu, I get the following error:
System.UriFormatException: Invalid URI: The URI is empty.
at System.Uri.CreateThis(String ur, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString)
at RedGate.Memory.AddIn.Connect.Exec(String commandName, vsCommandExecOption executeOption, Object& varIn, Object& varOut, Boolean& handled)
This seems like it should be a simple thing, but I can't find any documentation specifically outlining how to profile a web app from within Visual Studio. Anyone have any pointers?