Visual Studio 2019 not being picked up by .NET Profiler 10.1
adcat
Posts: 1 New member
Ants .NEt Profiler - 10.1
Visual Studio 2019
Ants Profiler Extension - 3.1.0.799
When attempting to profile an application from Ants Profiler 10.1 directly, I receive the following error:
"Couldn't start the profiling session.
Cause: Could not locate WebDev server exceutable - please ensure you have Microsoft Visual Studio 2005, 2008 2010, or 2012 installed."
Is there any way I can get the profiler to recognise Visual Studio 2019 instead?
Visual Studio 2019
Ants Profiler Extension - 3.1.0.799
When attempting to profile an application from Ants Profiler 10.1 directly, I receive the following error:
"Couldn't start the profiling session.
Cause: Could not locate WebDev server exceutable - please ensure you have Microsoft Visual Studio 2005, 2008 2010, or 2012 installed."
Is there any way I can get the profiler to recognise Visual Studio 2019 instead?
Best Answer
-
Russell D Posts: 1,324 Diamond 5You can't use the Webdev project type with Visual Studio 2015 or higher, because Microsoft discontinued it. You need to use the IIS Express project type. See https://documentation.red-gate.com/app10/setting-up-and-running-a-profiling-session/choosing-application-types-and-settings/profiling-asp-net-applications-running-on-the-web-development-server for further information.Have you visited our Help Centre?
Answers
Set Web server virtual directory to the application's virtual path on the web server.
However, the IIS Espress - ASP.NET pane does not include an option for setting the virtual directory.