[英]Deleting DLL from bin directory causes compile errors in ASP.NET MVC
i have a project say MyProject
. 我有一个项目说MyProject
。 It is an asp.net MVC project . 这是一个asp.net MVC项目 。 In bin directory, i have deleted a DLL named MyProject.dll . 在bin目录中,我删除了一个名为MyProject.dll的DLL。 Now when i try to build the project, i am getting following error. 现在,当我尝试构建项目时,出现以下错误。
The name MyProject does not exist in the current context. 名称MyProject在当前上下文中不存在。
In my view files and controller, there are a lot of code like 在我的视图文件和控制器中,有很多代码,例如
MyProject.Models;
or 要么
MyProject.Utility.IsValidEmail(email);
how to build this solution? 如何建立这个解决方案?
obviously, the MyProject.dll is the compiled code of the MyProject instance. 显然,MyProject.dll是MyProject实例的编译代码。 WHy did you delete it? 为什么删除它?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.