[英]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. 我正在使用Visual Studio 2017作为IDE来开发基于ASP.NET MVC的Web应用程序。 In asp.net Project i have referrenced the class library application for three tier architecture. 在asp.net Project中,我引用了三层体系结构的类库应用程序。 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, 我做了以下工作,但没有任何帮助,
Thanks in Advance..! 提前致谢..!
I resolved this issue by reinstalling the EntityFramework library to all the project in the solution. 我通过将EntityFramework库重新安装到解决方案中的所有项目来解决此问题。 After that it works fine. 之后,它工作正常。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.