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
Please sign in to leave a comment.
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.
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.
Please try disabling "Read solution model directly from project/solution files" in ReSharper | Options | Environment | General, then reopen the solution. Does it help?
Hi Andrey,
this works perfect.
Thanks for the support.
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.