Unable to post due to Intellisense errors

In VS 2015, I have a solution that builds and debugs just fine. But, when I am going to publish it, it will not allow me due to 60 intellisense errors.

I found several such threads:

Visual Studio 2015: Intellisense errors, but solutions compiled

Intellisense Continues to Show Errors When Building Visual Studio 2015 Successfully

I tried all the answers and suggestions, even in the comments.

What I tried:

  • Go to the links of each project in the solution. Remove the link to C # and all other projects. Clean Rebuild (which of course failed.) Then add everything back. Clean Rebuild.

  • Delete each .suo file inside the solution. Clean Rebuild.

  • Delete all bin and obj folders in the solution. Clean Rebuild.

  • Follow all of the above, but wait to do a clean and rebuild until all three steps are completed. Then clean and rebuild.

  • Updated every nuget package in the solution for the newest version.

Has anyone else seen this and found a fix?

UPDATE:

60 errors all over the place. Here is just a sample: enter image description here

+5
source share
1 answer

This question gets a lot of views and some stars. So I thought that I would come back to him and publish the solution that I found.

Turns out my question focuses on TypeScript. Another developer installed this solution using Visual Studio 2017. And when I tried to publish using Visual Studio 2015, he continued to throw Intellisense errors and did not allow me to publish.

The only way we figured out how to get around this is to upgrade to VS 2017. (I still planned, but it did speed things up a bit.) After the update was completed, Intellisense errors went away and I was able to post.

I hope this helps other people.

+1
source

All Articles