gpt4 book ai didi

.net - 受ASP.NET编译错误CS0009的困扰

转载 作者:行者123 更新时间:2023-12-02 10:45:43 25 4
gpt4 key购买 nike

当我调试ASP.NET MVC应用程序时,出现以下错误。

关于如何解决这个问题有任何想法吗?

知道这个问题最初是怎么发生的吗?我向您保证,我不会从系统上 protected 目录的深处随机删除dll。

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. '

最佳答案

这似乎可以解决它:

添加/删除程序-> .NET Framework 3.5SP1->修复

关于.net - 受ASP.NET编译错误CS0009的困扰,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2011134/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com