对象引用未设置为对象的实例. [英] object reference not set to an instance of object.
本文介绍了对象引用未设置为对象的实例.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的Windows应用程序项目中,我将localization设置为true并添加了另一种语言.当添加另一个项目的引用时,它显示错误为对象引用未设置为对象的实例".
我该如何解决此问题?
在此先感谢
Jiju
Hi,
In my windows application project i have set localization to true and added another language. When adding a reference of another project, it is showing error as ''object reference not set to an instance of object''.
how can i fix this issue?
Thanks in advance
Jiju
推荐答案
请参阅以下常见问题解答:
未将对象引用设置为对象实例的意思是什么 [
Please refer this FAQ:
What does Object reference not set to an instance of an object mean[^]
在调试器中运行程序,它将在调试器中运行告诉你错误在哪里.
通常是在尝试使用null
(未设置)的对象时.
Run your program in a debugger, and it will show you where your error is.
This is usually when you are trying to use an object which isnull
(not set).
这篇关于对象引用未设置为对象的实例.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文