InitializeComponent is highligthed as missing

Hi,

InitializeComponent is highligted as missing in any WPF UserControl.

The application run without an error.

When I disable Resharper the message disappears.

How can I avoid this waring?

Greeting Michael

5 comments
Comment actions Permalink

Hi Michael Insberg

Thank you for contacting us! Which ReSharper version do you run? Does it happen for any solution or only in a specific one?

First of all please try to clear the solution caches, open ReSharper | Options | Environment | General while solution is loaded, click "Clear caches", then close VS, remove the hidden \.vs folder placed next to the .sln file, plus the %LocalAppData%\JetBrains\Transient\ folder too.

0
Comment actions Permalink

Hi Andrey,

I cleared the cache an delete the folder you mentioned but this has no effect.

I use this Version

ReSharper 2020.3.4 

Visual Studio Professional 2019 (Version 16.9.31112.23, InstanceId 55084d54).

The error only appears in a very big solution.

 

 

0
Comment actions Permalink

Please try disabling "Read solution model directly from project/solution files" in ReSharper | Options | Environment | General, then reopen the solution. Does it help?

0
Comment actions Permalink

Hi Andrey,

this works perfect.

Thanks for the support.

 

0
Comment actions Permalink

Michael,

ReSharper may be a bit slower with the setting disabled. Could you get dumps and logs for the issue according to this manual? https://resharper-support.jetbrains.com/hc/en-us/articles/360018389180-How-to-get-dumps-and-logs-for-ReSharper-s-project-model-problems

Please submit them alongside a support ticket created by the "Submit a Request" button above.

0

Please sign in to leave a comment.