Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

First, I update the VS 2019. After that I updated my project from .net framework 4.6 to 4.8.

Now I getting the Intelligence error in the MVC view. I check some article and blog related it and try below points for it.

  1. Delete the bin and obj folder.
  2. Delete .vs file
  3. Delete the packages folder.

I did all things but still I am getting the same Intelligence error.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
446 views
Welcome To Ask or Share your Answers For Others

1 Answer

I was getting the same error after the framework upgrade. Need to add System.Core reference in the main Web.config file.

<compilation>
  <assemblies>
    <add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
  </assemblies>
</compilation>

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...