问题
I'm trying to run the visual studio 2017 profiler for IIS Express on Windows 10 But I'm running into some trouble.
When I tried to install all the required IIS Component's I Noticed that I was missing a few because I was running Windows 10 Home Edition I found a solution Here
dism /online /norestart /add-package:%SystemRoot%\servicing\Packages\Microsoft-Windows-IIS-WebServer-AddOn-2-Package~31bf3856ad364e35~amd64~~10.0.16299.15.mum
After I ran that I was pretty much able to install all the supposed required components for running the profiler
Despite that when ever I try to run the Performance Profile I still receive an error:
localhost:50936 is a remote or invalid website, profiling is only support for local websites
Edit I've updated the computer to run windows 10 Pro Edition, Yet I'm still getting this error
I checked my event logs for windows and I see an error from Visual Studio Profiler:
System.Runtime.InteropServices.COMException: The method or operation is not implemented., System.Object get_Value() at EnvDTE.Property.get_Value() at Microsoft.VisualStudio.PerformanceTools.ProjectTarget.LoadBinaryProject(IVsHierarchy hier) at Microsoft.VisualStudio.PerformanceTools.ProjectTarget.LoadProjInfo()
Does anyone know if there are any other packages I need to install to get the profiler running?
来源:https://stackoverflow.com/questions/49375796/run-performance-profile-on-windows-10-home-edition