zoukankan
html css js c++ java
未处理System.ArgumentException
当我在VS2005中已有项目中再新添加
Windows控件库
后,删去其中的
UserControl1.cs
文件,再对其使用
调试->启动新实例
,则会产生这样的一个异常!
未处理 System.ArgumentException
Message
=
"
程序集“X:\\
\\
\\
\\Visual Studio 2005\\Projects\\...\\WindowsControlLibrary1\\obj\\Debug\\WindowsControlLibrary1.dll”不包含任何 UserControl 类型。
"
Source
=
"
UserControlTestContainer
"
StackTrace:
在 Microsoft.VisualStudio.Tools.UserControlTestContainer.UserControlTestContainer_Load(Object sender, EventArgs e)
在 System.Windows.Forms.Form.OnLoad(EventArgs e)
在 System.Windows.Forms.Form.OnCreateControl()
在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
在 System.Windows.Forms.Control.CreateControl()
在 System.Windows.Forms.Control.WmShowWindow(Message
&
m)
在 System.Windows.Forms.Control.WndProc(Message
&
m)
在 System.Windows.Forms.ScrollableControl.WndProc(Message
&
m)
在 System.Windows.Forms.ContainerControl.WndProc(Message
&
m)
在 System.Windows.Forms.Form.WmShowWindow(Message
&
m)
在 System.Windows.Forms.Form.WndProc(Message
&
m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message
&
m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message
&
m)
在 System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
在 System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
在 System.Windows.Forms.Control.SetVisibleCore(Boolean value)
在 System.Windows.Forms.Form.SetVisibleCore(Boolean value)
在 System.Windows.Forms.Control.set_Visible(Boolean value)
在 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
在 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
在 System.Windows.Forms.Application.Run(Form mainForm)
在 Microsoft.VisualStudio.Tools.UserControlTestContainer.Main(String[] args)
查看全文
相关阅读:
杭州电子科技大学程序设计竞赛(2016’12)- 网络同步赛 1001
AtCoder Beginner Contest 050 ABC题
2016年第四届湘潭大学新生趣味程序设计竞赛
华东交通大学2016年ACM“双基”程序设计竞赛 1008
移动端报表JS开发示例
unity shader入门
现代控制理论思考题----倒立摆小车控制算法研究
Linux驱动基础:msm平台,modem等framework加载
简谈高通Trustzone的实现
现代控制理论课件分享及课后思考题(初稿待完善)
原文地址:https://www.cnblogs.com/yforg/p/1138536.html
最新文章
hdu 1150 最小点覆盖
hdu 1054 最小点覆盖
poj 1811 大数分解
hdu 4185 二分图匹配
poj 2635 千进制
hdu 1011 树形dp
hdu 4165 dp
hdu 4091 线性规划
hdu 4033 二分几何
android开发环境搭建(for 驱动开发人员)
热门文章
WINCE 开机自动弹USB连接窗口问题(已解决)
Wince 中如何实现注册表恢复原厂设置
linux文件系统简介
创建支持复杂脚本Complex Scripts的WINCE6.0系统
Codeforces Round #389 (Div. 2, Rated, Based on Technocup 2017
Codeforces Round #389 (Div. 2, Rated, Based on Technocup 2017
杭州电子科技大学程序设计竞赛(2016’12)- 网络同步赛 1007
杭州电子科技大学程序设计竞赛(2016’12)- 网络同步赛 1004
杭州电子科技大学程序设计竞赛(2016’12)- 网络同步赛 1003
杭州电子科技大学程序设计竞赛(2016’12)- 网络同步赛 1002
Copyright © 2011-2022 走看看