Intellisense continues to display errors during assembly. Visual studio 2015

So, I'm working on a Xamarin project, and suddenly Visual Studio 2015 started to worry, it shows red line errors under each almost like this:

InitializeComponent(); 

a red line is highlighted on each page, the project is built and launched without errors, errors come from Intellisense, only I was looking for a solution on the network. Many posts talked about this problem, but I did not have a working solution.

so here is what i tried:

1) delete the .suo file

2) deleting the xamarin temp folder (and in the end I deleted everything in the temp folder)

3) Build / Clean - Build / Rebuild

4) tried to find the Intellisense sdf file but could not find it

5) many spoke about problems with change, but I don’t have it.

6) the project is not on git, so this is also not a problem

7) tried to remove / bin and / obj also without luck

I'm crazy about this, can someone help with this?

+2
source share
1 answer

As requested, I share what solved the problem for me, I removed the xamarin forms from my project in the package manager and tried to install it back to see if this helps, but this did not happen, in a desperate action I looked at the updates available in the package manager, and there was one for xamarin I did not believe that this would solve the problem, since the project went fine in the current version, but in any case tried it for my surprise, the problem was solved. It seems that the update of some files that the reinstallation is not for some reason is fixed.

Since I do not think that this can be called a solution, since it will not happen every time, an update will be available to sort the problem, I came to the conclusion that the only thing that will definitely solve the problem is to open a new project and painfully transfer Your code for a new project. This will certainly solve the problem, but this is a painful process.

0
source

All Articles