Dreamescaper / IntelliSenseExtender

GNU General Public License v3.0
88 stars 17 forks source link

Constantly throws TypeInitializationException when using VS2022 #74

Closed GuildOfCalamity closed 7 months ago

GuildOfCalamity commented 8 months ago

System.TypeInitializationException : The type initializer for 'IntelliSenseExtender.ExposedInternals.SymbolCompletionItem' threw an exception. ---> System.NullReferenceException : Object reference not set to an instance of an object. at IntelliSenseExtender.ExposedInternals.SymbolCompletionItem..cctor() --- End of inner exception stack trace --- at IntelliSenseExtender.ExposedInternals.SymbolCompletionItem.EncodeSymbol(ISymbol symbol) at async IntelliSenseExtender.IntelliSense.CompletionItemHelper.GetDescriptionAsync() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at async IntelliSenseExtender.IntelliSense.Providers.AggregateTypeCompletionProvider.GetDescriptionAsync() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at async Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunctionAsync[T]()

GuildOfCalamity commented 8 months ago

I guessing this project is dead? Last commit was 2 years ago?

Dreamescaper commented 7 months ago

It's certainly not in active development, as a lot of things are already included in VS itself, built-in IntelliSense is in much better shape comparing to when this extension was originally created.

That said, I'll try to update it to work with the latest VS.

Dreamescaper commented 7 months ago

I have published an updated version, it should work fine with the latest version. https://marketplace.visualstudio.com/items?itemName=Dreamescaper.IntelliSenseExtender2022

GuildOfCalamity commented 7 months ago

@Dreamescaper Thank you!