Cannot Resolve Symbol

Starting having an issue on one of my projects, quite often I will create classes in the file where they are needed, then use Resharper to move them to a more appropriate place, this has worked fine for years, however I've now started to hit a real issue where moving those files in this specific project results in Resharper losing the reference to it, resetting the cache works, however the next time I do this process it breaks again, so it's not a long-term solution to shut down visual studio several times a day.

 

Any ideas?

 

Project: .net core project targeting .net 4.5.2 and .netstandard 1.6

Versions:

Microsoft Visual Studio Community 2017
Version 15.2 (26430.12) Release
VisualStudio.15.Release/15.2.0+26430.12
Microsoft .NET Framework
Version 4.7.02046

Installed Version: Community

Visual Basic 2017 00369-60000-00001-AA786
Microsoft Visual Basic 2017

Visual C# 2017 00369-60000-00001-AA786
Microsoft Visual C# 2017

Visual C++ 2017 00369-60000-00001-AA786
Microsoft Visual C++ 2017

Application Insights Tools for Visual Studio Package 8.6.00404.2
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017 15.0.30503.0
ASP.NET and Web Tools 2017

ASP.NET Web Frameworks and Tools 2017 5.2.50303.0
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0 15.0.30209.0
Azure App Service Tools v3.0.0

Common Azure Tools 1.9
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

JavaScript Language Service 2.0
JavaScript Language Service

JavaScript Project System 2.0
JavaScript Project System

JavaScript UWP Project System 2.0
JavaScript UWP Project System

JetBrains ReSharper Ultimate 2017.1.3 Build 108.0.20170613.154143
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2017 JetBrains, Inc.

KofePackagePackage Extension 1.0
KofePackagePackage Visual Studio Extension Detailed Info

Microsoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.50131.1

Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package

NCrunch
Continuous Testing Tool for .NET
Copyright © 2010-2017 Remco Software Ltd

Node.js Tools 1.3.50417.1
Adds support for developing and debugging Node.js apps in Visual Studio

NuGet Package Manager 4.2.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

SQL Server Data Tools 15.1.61702.140
Microsoft SQL Server Data Tools

TypeScript 2.2.2.0
TypeScript tools for Visual Studio

0
3 comments

Hello Owen!

 

Thank you for contacting us.

Seems to be the similar issue - https://youtrack.jetbrains.com/issue/RSRP-464001, please note that if you try disabling ReSharper after refactoring Roslyn will still highlight the corresponding type. ReSharper uses some of Roslyn features to resolve symbols in VS2015/2017 so if Roslyn can't resolve anything - ReSharper won't resolve it as well.

Thank you.

1
Avatar
Permanently deleted user

Ok I'll check that next time it happens, but looks quite likely that it is this issue.

0
Avatar
Permanently deleted user

Yes it is definitely the issue you have linked to.

0

Please sign in to leave a comment.