Resharper Intellisense Not Working R#2019.1.1 VS2019

Completed

The Resharper intellisense in Visual Studio 2019 just stopped working today. No updates applied to Resharper, Visual Studio or Windows. This was working last week. If I switch from Resharper Intellisense to VS Intellisense, it works. When I switch back, it doesn't. 

 

I am seeing the following error logged when setting the log output for Resharper:

 

--- EXCEPTION #1/2 [ArgumentException]
Message = “Must specify property Set or Get or method call for a COM Object.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentException
Data.ThreadLocalDebugInfo = GroupingEventHost.ExecuteExpiredEvents
HResult = E_INVALIDARG=COR_E_ARGUMENT=80070057
Source = mscorlib
ParamName = bindingFlags
StackTraceString = “
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at JetBrains.VsIntegration.ProjectModel.ProjectProperties.ManagedProjectPropertiesBuilderUtil.GetSuggestedProjectConfigurationName(IVsHierarchy hierarchy)
at JetBrains.Platform.VisualStudio.SinceVs14RoslynAware.ProjectModel.ProjectK.ProjectKCSharpProjectPropertiesBuilder.TryGetFromSuggestedProjectConfiguration(IVsHierarchy hierarchy)
at JetBrains.Platform.VisualStudio.SinceVs14RoslynAware.ProjectModel.ProjectK.ProjectKCSharpProjectPropertiesBuilder.TrySetPlatformUnsafety(IVsHierarchy hierarchy, ManagedProjectBuildSettings managedProjectBuildSettings)
at JetBrains.Platform.VisualStudio.SinceVs14RoslynAware.ProjectModel.ProjectK.ProjectKCSharpProjectPropertiesBuilder.<>c__DisplayClass18_0.<TrySetPlatform>b__0()
at JetBrains.VsIntegration.ProjectModel.ProjectProperties.ManagedProjectPropertiesBuilder.CheckForExceptions(Action getPropertyValue, Boolean& result)

--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “
Must specify property Set or Get or method call for a COM Object.
Parameter name: bindingFlags

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Platform.VisualStudio.SinceVs14RoslynAware.ProjectModel.ProjectK.ProjectKCSharpProjectPropertiesBuilder.TrySetPlatform(IVsHierarchy hierarchy, ManagedProjectBuildSettings managedProjectBuildSettings)
at JetBrains.Platform.VisualStudio.SinceVs14RoslynAware.ProjectModel.ProjectK.ProjectKCSharpProjectPropertiesBuilder.RetrievePropertiesFromVSHierarchy(IVsHierarchy hierarchy, IProjectProperties projectProperties, FileSystemPath projectLocation, FileSystemPath projectFilePath)
at JetBrains.VsIntegration.ProjectDocuments.Projects.Builder.VSProjectModelDescriptionBuilder.CreateProjectProperties(IVsHierarchy hierarchy, ProjectPropertiesFactoryParameters parameters, Boolean updateProjectProperties, Boolean& arePropertiesCorrect)
at JetBrains.VsIntegration.ProjectDocuments.Projects.Builder.VSProjectModelDescriptionBuilder.GetOrCreateDescriptor(IVsHierarchy hierarchy, Dictionary`2 descriptors, UpdateFlags flags, JetHashSet`1 modifiedFiles)
at JetBrains.Platform.VisualStudio.SinceVs15.ProjectDocuments.VsProjectModelDescriptionBuilder15.GetOrCreateDescriptor(IVsHierarchy hierarchy, Dictionary`2 descriptors, UpdateFlags flags, JetHashSet`1 modifiedFiles)
at JetBrains.VsIntegration.ProjectDocuments.Projects.Builder.VSProjectModelDescriptionBuilder.BuildDescriptors(IEnumerable`1 hierarchies, UpdateFlags flags)
at JetBrains.VsIntegration.ProjectDocuments.Projects.Builder.VSProjectModelDescriptionBuilder.BuildDescriptor(IVsHierarchy hierarchy, UpdateFlags flags)
at JetBrains.VsIntegration.ProjectDocuments.Projects.Builder.ProjectModelSynchronizer.<UpdateProjectAsync>d__38.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
at JetBrains.VsIntegration.ProjectDocuments.Projects.Builder.ProjectModelSynchronizer.UpdateProjectAsync(IProjectSearchDescriptor projectSearchDescriptor, UpdateFlags updateFlags)
at JetBrains.VsIntegration.ProjectDocuments.Projects.Builder.ProjectModelSynchronizer.<RefreshProjectPropertiesAsync>d__36.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
at JetBrains.VsIntegration.ProjectDocuments.Projects.Builder.ProjectModelSynchronizer.RefreshProjectPropertiesAsync(IProjectSearchDescriptor projectSearchDescriptor, Boolean notifyChangeManager, Boolean updateFileProperties)
at JetBrains.VsIntegration.ProjectDocuments.Projects.Builder.ProjectModelSynchronizer.<RefreshProjectPropertiesAsync>d__35.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
at JetBrains.VsIntegration.ProjectDocuments.Projects.Builder.ProjectModelSynchronizer.RefreshProjectPropertiesAsync(IProject project, Boolean notifyChangeManager, Boolean updateFileProperties)
at JetBrains.Platform.VisualStudio.SinceVs14RoslynAware.ProjectDocuments.ProjectK.ProjectKCSharpProjectPropertiesBuilderHelper.<>c__DisplayClass3_0.<RefreshProjectProperties>b__0()
at JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)
at JetBrains.Platform.VisualStudio.SinceVs14RoslynAware.ProjectDocuments.ProjectK.ProjectKCSharpProjectPropertiesBuilderHelper.RefreshProjectProperties(IEnumerable`1 projects)
at JetBrains.Platform.VisualStudio.SinceVs14RoslynAware.ProjectDocuments.ProjectK.ProjectKCSharpProjectPropertiesBuilderHelper.<>c__DisplayClass2_0.<.ctor>b__3(ICollection`1 projects)
at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
at JetBrains.DataFlow.Signal`1.Fire(TValue value)
at JetBrains.Platform.VisualStudio.SinceVs14RoslynAware.ProjectModel.RoslynWrapper.WorkspaceWrapper.CalculateChangedProjectsAndFire()
at JetBrains.Platform.VisualStudio.SinceVs14RoslynAware.ProjectModel.RoslynWrapper.WorkspaceWrapper.<>c__DisplayClass20_0.<.ctor>b__2()
at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass0_0`1.<Advise>b__0(TValue value)
at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
at JetBrains.Threading.GroupingEvent.Execute()
at JetBrains.Threading.GroupingEventHost.ExecuteExpiredEvents()
at JetBrains.Threading.GroupingEventHost.<OnClockTimerTick>b__22_0()
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority)
at JetBrains.Threading.GroupingEventHost.OnClockTimerTick()
at JetBrains.Threading.GroupingEventHost.ClockTimer.OnTimerTick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

0
5 comments

Hello!

 

Could you please specify if ReSharper stopped working in some specific solution only? If so please try suggestion from the following help article.

What about other ReSharper features: refactorings, navigation etc, do they work?

Thank you.

0
Avatar
Permanently deleted user

It does appear to be having the issue with only one solution and only in VS2019. I opened the solution in VS2017 and Resharper Intellisense is working. Other features (refactoring, navigation, etc) work.

I had tried that article before and followed both the Clear Cache button and manual clearing options but to no avail. There is no .suo file for this solution.

0

Thank you for the reply.

 

Could you please also try removing %LocalAppData%\JetBrains\Transient folder.

If that doesn't help please provide full ReSharper log, you can do it privately via 'Submit a request' form.

Thank you.

1
Avatar
Permanently deleted user

Deleting the %LocalAppData%\JetBrains\Transient folder worked! Thanks!

0
Avatar
Permanently deleted user

Unfortunately, it looks like the problem came back today. I have submitted a support request with the log attached.

1

Please sign in to leave a comment.