gpt4 book ai didi

c# - 无法打开元数据文件 'System.EnterpriseServices.Wrapper.dll' -- 'Error importing module ' System.EnterpriseServices.Wrapper.dll'

转载 作者:太空狗 更新时间:2023-10-29 22:16:03 25 4
gpt4 key购买 nike

操作系统:Windows 8.1

Visual Studio 高级版 2013

我有一个复杂的 MVC 应用程序,我已经运行了多年。我能够毫无问题地在调试中运行应用程序。然而,就在今天下午,当我尝试发布部署应用程序时,我收到了这个错误:

Error 8 Metadata file 'f:\Documents\Visual Studio 2013\GIT\Maloha\site\bin\System.EnterpriseServices.dll' could not be opened -- 'Error importing module 'System.EnterpriseServices.Wrapper.dll' of assembly 'f:\Documents\Visual Studio 2013\GIT\Maloha\site\bin\System.EnterpriseServices.dll' -- The system cannot find the file specified. ' F:\Documents\Visual Studio 2013\GIT\Maloha\site\CSC site

我已经重新启动了我的电脑。我已尝试清理并重建应用程序。

什么会导致这个突然出现?我如何解决它?我需要能够发布应用程序。

更新

我卸载了 .NET 3.5 并重新安装了它。我现在可以在指定的文件夹中看到该文件,但我仍然收到错误消息。

最佳答案

我遇到了类似的问题。我不知道我的解决方案是否适合您,但这是有人告诉我要做的:

从 bin 文件夹中删除文件,以便在下一次发布时重建它们。

我不知道为什么它会起作用,但在那之后我能够使用该解决方案。

很遗憾,除此之外我无法提供任何其他见解或指导。

关于c# - 无法打开元数据文件 'System.EnterpriseServices.Wrapper.dll' -- 'Error importing module ' System.EnterpriseServices.Wrapper.dll',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26809498/

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