Open Thieum opened 7 years ago
I am also experiencing this behavior:
When clicking the 'Web Essentials...' menu item in the Tools menu, I am presented with a VS dialog that indicates an error has occurred with this extension and to check the Activity Log.
Here's the error from the Activity Log:
SetSite failed for package [InstallerPackage]Source: 'WebEssentials' Description: Could not load type
'Microsoft.VisualStudio.TaskStatusCenter.ITaskHandler' from assembly
'Microsoft.VisualStudio.Shell.Framework, Version=15.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a'. System.TypeLoadException: Could not load type
'Microsoft.VisualStudio.TaskStatusCenter.ITaskHandler' from assembly
'Microsoft.VisualStudio.Shell.Framework, Version=15.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a'. at WebEssentials.InstallerService.RunAsync() at
WebEssentials.InstallerPackage.<InitializeAsync>d__1.MoveNext() in
C:\projects\webessentials2017\src\VSPackage.cs:line 37 --- End of stack trace from previous location
where exception was thrown --- at
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at
Microsoft.VisualStudio.Shell.AsyncPackage.<>c__DisplayClass16_0.<<Microsoft-VisualStudio-Shell-
Interop-IAsyncLoadablePackageInitialize-Initialize>b__1>d.MoveNext() --- End of stack trace from
previous location where exception was thrown --- at
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at
Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e) at
Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck) at
Microsoft.VisualStudio.Services.VsTask.GetResult()
I'm running Visual Studio 2017 Professional, version 15.0.26430.14
Installed product versions
Description
The extension throws an error on visual studio startup.
Steps to recreate
Current behavior
An error is logged to the activity log: `Error
Expected behavior
No exception on startup.