由ASP.NET编译错误CS0009受阻 [英] Stymied by ASP.NET Compilation Error CS0009
问题描述
我收到的时候我调试我的ASP.NET MVC应用程序下面的错误。
这是我怎么能解决这个问题有什么想法?
不知道如何这个问题会发生在首位?我答应你,我没去随意删除DLL的由深受保护的目录中在我的系统。
在/应用程序服务器错误。
编译错误说明: 在编译过程中发生错误 维修本所需资源 请求。请检查以下 特定错误详细信息并修改 来源$ C $ C正确。
编译器错误信息:CS0009: 元数据文件 'c:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll' 无法打开 - 错误 导入模块 System.EnterpriseServices.Wrapper.dll 组装 'c:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll' - 该系统找不到指定的文件。
这似乎解决它:
添加/删除程序 - > NET框架3.5SP1 - >修复
I'm getting error below when I debug my ASP.NET MVC app.
Any thoughts on how I could solve this?
Any idea how the problem would have occurred in the first place? I promise you I didn't go randomly deleting dll's from deep within protected directories on my system.
Server Error in '/' Application.
Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0009: Metadata file 'c:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll' could not be opened -- 'Error importing module 'System.EnterpriseServices.Wrapper.dll' of assembly 'c:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll' -- The system cannot find the file specified. '
This seemed to fix it:
Add/Remove Programs -> .NET Framework 3.5SP1 -> Repair
这篇关于由ASP.NET编译错误CS0009受阻的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!