System.MissingMethodException: Methode nicht gefunden: "Void Community.VisualStudio.Toolkit.BaseCommand`1..ctor()"
See original GitHub issueLast week I had to repair my VS2019 to fix some issues, now I reinstalled some extension from what I thought I had installed and now I get an error with your extension:
SetSite failed for package [TweaksterPackage]Source: 'mscorlib' Description: Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Methode nicht gefunden: "Void Community.VisualStudio.Toolkit.BaseCommand`1..ctor()".
at Tweakster.ResetZoomLevel..ctor() --- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance[T]() at Community.VisualStudio.Toolkit.BaseCommand`1.<InitializeAsync>d__12.MoveNext() --- 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 Tweakster.TweaksterPackage.<InitializeAsync>d__0.MoveNext() in C:\projects\tweakster\src\TweaksterPackage.cs:line 33 --- 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__DisplayClass20_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.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Threading.JoinableTask.<JoinAsync>d__70.MoveNext() --- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)
at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)
at Microsoft.VisualStudio.Services.VsTask.GetResult()System.MissingMethodException: Methode nicht gefunden: "Void Community.VisualStudio.Toolkit.BaseCommand`1..ctor()". at Tweakster.ResetZoomLevel..ctor()
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
System.MissingMethodException: Method not found?
I have a generic handler as such: public class MyHandler: IHttpHandler { public void Processrequest(HttpContext context) ...
Read more >System.MissingMethodException: Method not found: void . ...
Open Tools > Android > Android Adb Command Prompt. In the command prompt, run: adb uninstall Mono.Android.DebugRuntime; Redeploy the application ...
Read more >Errors after updating Visual Studio 2019
MissingMethodException : Method not found: 'System. ... MoveNext() — End of stack trace from previous location where exception was thrown — at System....
Read more >"System.MissingMethodException: Method not found ...
I'm currently in the process of updating our build tools from v141 to v142, ... For the c++ projects we use fastbuild as...
Read more >VSIX Community Toolkit - Visual Studio (Windows)
This toolkit will help you write successful Visual Studio extensions and there's something for absolute beginners to experts alike.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If a library doesn’t have a strongname, then VS is not registering it correctly as a dependent assembly. The fix was to add a strongname to the Tookit assembly.
We found a bug in VS on how it registers dependent assemblies. We got around it in the latest Toolkit package, which now both Tweaks and KnownMonikers Explorer uses. I’ve uploaded the new versions to the Marketplace