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)
查看全文
相关阅读:
C#中KeyDown和KeyPress区别
c#快捷键设置和text输入限制
问题总结
c#串口编程和单片机通信重大发现
c#类似单片机的8bit或运算
c#中将默认常量(32bit)转换为8bit
我的秋季个人阅读计划
学期总结
阅读笔记《软件秘籍》03
阅读笔记--09
原文地址:https://www.cnblogs.com/yforg/p/1138536.html
最新文章
dedecms织梦系统后台验证码图片不显示的解决方法
zencart新增分类点击不进去的解决办法
zencart用sql将某个产品属性值设为只读和默认
Easy Populate批量管理下载产品数据为空的解决办法
C语言指针
【数据库】Function&Procedure&Package
【数据库】MyQSL数据完整性
【数据库】模式分解
【数据库】SQL 关系代数
体系结构复习整合
热门文章
体系结构复习3
体系结构复习2
体系结构复习1
【转】pip升级不成功怎么办
攻防组网之—-MikroTik软路由的配置和FUZZ
MIPCMS V3.1.0 远程写入配置文件Getshell过程分析(附批量getshell脚本)
NSRC技术分享——自制Linux Rootkit检测工具
0
C#在使用串口读一长段数据时,前面加延时,等串口缓冲全部收到再去读
单片机通过寄存器地址访问寄存器
Copyright © 2011-2022 走看看