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

Code Fix Service Gold Bar Error #54264

Closed
mikadumont opened this issue Jun 21, 2021 · 4 comments
Closed

Code Fix Service Gold Bar Error #54264

mikadumont opened this issue Jun 21, 2021 · 4 comments

Comments

@mikadumont
Copy link
Contributor

MicrosoftTeams-image

Stack Trace:

System.TypeInitializationException : The type initializer for 'Microsoft.VisualStudio.SDK.Analyzers.VSSDK001DeriveFromAsyncPackageCodeFix' threw an exception. ---> System.FieldAccessException : Attempt by method 'Microsoft.VisualStudio.SDK.Analyzers.VSSDK001DeriveFromAsyncPackageCodeFix..cctor()' to access field 'Microsoft.VisualStudio.SDK.Analyzers.VSSDK001DeriveFromAsyncPackageAnalyzer.Descriptor' failed.
at Microsoft.VisualStudio.SDK.Analyzers.VSSDK001DeriveFromAsyncPackageCodeFix..cctor()
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.SDK.Analyzers.VSSDK001DeriveFromAsyncPackageCodeFix.get_FixableDiagnosticIds()
at Microsoft.CodeAnalysis.CodeFixes.CodeFixService.GetAndTestFixableDiagnosticIds(CodeFixProvider codeFixProvider)
at Microsoft.CodeAnalysis.CodeFixes.CodeFixService.<>c.b__37_2(CodeFixProvider f)
at System.Collections.Immutable.ImmutableInterlocked.GetOrAdd[TKey,TValue](ImmutableDictionary2& location,TKey key,Func2 valueFactory)
at Microsoft.CodeAnalysis.CodeFixes.CodeFixService.<>c__DisplayClass37_0.b__0()
at Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunction[T](IExtensionManager extensionManager,Object extension,Func`1 function,T defaultValue)

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Analyzers untriaged Issues and PRs which have not yet been triaged by a lead labels Jun 21, 2021
@mikadumont
Copy link
Contributor Author

@CyrusNajmabadi

@CyrusNajmabadi
Copy link
Member

@AArnott Do you know where crashes in VSSDK should go?

@AArnott
Copy link
Contributor

AArnott commented Jun 21, 2021

Here: https://github.com/microsoft/VSSDK-Analyzers/issues

This looks like a dupe of microsoft/VSSDK-Analyzers#105 though, so I wonder what version of the analyzers this project was using. Maybe it doesn't have the fix.

@jinujoseph
Copy link
Contributor

Moved over to microsoft/VSSDK-Analyzers#136

@jinujoseph jinujoseph removed the untriaged Issues and PRs which have not yet been triaged by a lead label Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants