简体   繁体   中英

Web Project is Build successfully in Visual Studio 2017 without any error but still it showing as error

I am Using Visual Studio 2017 as IDE for developing asp.net mvc based web application. In asp.net Project i have referrenced the class library application for three tier architecture. When I build the solution, it builds successfully and could ran also. But when I see my project code it shows like "are you missing directive or an assembly reference error" in many places. Because of that code intelligence is not working. Even I have to do build for single code change to check whether any of the compilation error exists in my code.

I have did the following, but not helped any how,

  1. Clean solution --> And rebuild the solution
  2. Restart the Visual studio and rebuild the solution
  3. Removing the .suo file in solution directory

Thanks in Advance..!

I resolved this issue by reinstalling the EntityFramework library to all the project in the solution. After that it works fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM