Windows应用程序中的运行时错误 [英] run time error in windows application

查看:85
本文介绍了Windows应用程序中的运行时错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行Windows应用程序时,出现以下错误:尝试运行项目时出错:无法加载文件或程序集演示"或其依赖项之一.该模块应包含程序集清单.

when i run my windows application i got the following error:Error while trying to run project:could not load file or assembly "demo" or one of its dependencies.The module was expected to contain an assembly manifest.

推荐答案

在解决方案资源管理器"窗格中转到项目下的引用",然后右键单击演示"引用.
选择属性",然后查看属性"窗格.
在路径"下记录该文件的位置,然后在Windows资源管理器中查看该文件:文件似乎已损坏或为空,因此,如果它是外部项目,则可能需要重建它.

如果看不到任何错误,可以尝试删除Demo引用,然后查看您的项目是否在此之后工作...:笑:
Go to References under your project in the Solution Explorer pane, and right click the Demo reference.
Select "Properties" and look at the Properties Pane.
Under "Path" make a note of where the file is, and look there in Windows Explorer: It would appear that the file is corrupt or empty, so you may need to rebuild it if it is an external project.

If you can''t see anything wrong, you could try removing the Demo reference, and see if your project works after that...:laugh:


这篇关于Windows应用程序中的运行时错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆