Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExtensionManagerService changed, causing RuntimeBinderException #29

Closed
LukasGelke opened this issue Sep 9, 2020 · 0 comments
Closed

Comments

@LukasGelke
Copy link
Contributor

System.Exception : Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: No overload for method 'UpdateLastExtensionsChange' takes '0' arguments
       at CallSite.Target(Closure , CallSite , Object )
       at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid1[T0](CallSite site, T0 arg0)
       at VsixTesting.Installer.ExtensionManagerService.UpdateLastExtensionsChange()
       at VsixTesting.Installer.Installer.Install(String extensionPath, Nullable`1 allUsers)
       at VsixTesting.Installer.Installer.<>c__DisplayClass5_1.<Install>b__0(String path)
       at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
       at VsixTesting.Installer.Installer.Install(String applicationPath, String rootSuffix, IEnumerable`1 extensionPaths, Nullable`1 allUsers)
       at VsixTesting.Installer.Program.<>c__DisplayClass1_0.<Run>b__0()
       at VsixTesting.Installer.Program.Run(String applicationPath, String rootSuffix, String[] args)
  Stack Trace: 
    VisualStudioUtil.RunInstallerAsync(VsHive hive, IEnumerable<string> args) line 49
    VisualStudioUtil.InstallExtensionsAsync(VsHive hive, IEnumerable<string> extensions) line 18
    VsInstance+<>c__DisplayClass15_0+<<Prepare>b__0>d.MoveNext() line 54
    IDiagnosticsExtensions+<>c__DisplayClass1_0+<<RunAsync>b__0>d.MoveNext() line 34
    DiagnosticTestRunner<T>+<>c__DisplayClass5_0+<<RunAsync>b__0>d.MoveNext() line 182
    ExecutionTimer.AggregateAsync(Func<Task> asyncAction) line 48
    DiagnosticTestRunner<T>.RunAsync(IMessageBus messageBus, CancellationTokenSource cancellationTokenSource) line 180
    VsInstance.Prepare(VsHive hive, IEnumerable<string> extensionsToInstall, bool resetSettings, IDiagnostics diagnostics, bool installInvoker) line 41
    VsInstanceTestAssemblyRunner.Init(CancellationTokenSource cts) line 110
    VsInstanceTestAssemblyRunner.RunAsync(CancellationTokenSource cts) line 79

Apparently the method ExtensionManagerService.UpdateLastExtensionsChange() in Microsoft.VisualStudio.ExtensionManager.Implementation.dll (and therein used ones) changed and now take a bool named updateClient.
This results in the exception above, when running VsFact-TestMethods.

  • Visual Studio Professional 2019 v16.7.2
  • Microsoft.VisualStudio.ExtensionManager.Implementation.dll reports 'Date Modified' as 2020-08-13
LukasGelke added a commit to komsa-ag/VsixTesting that referenced this issue Sep 9, 2020
@josetr josetr closed this as completed in 19fd9be Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant