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)
查看全文
相关阅读:
Java 密码扩展无限制权限策略文件
深入浅出Mybatis系列(八)---mapper映射文件配置之select、resultMap
git 常用功能 _fei
ActiveMQ 使用
【dp】导弹拦截
【dp】求最长上升子序列
【贪心】1225 金银岛
最大子矩阵
归并排序求逆序对
服务器安全部署文档
原文地址:https://www.cnblogs.com/yforg/p/1138536.html
最新文章
Makefile中几种变量赋值运算符
linux源码Makefile的详细分析
build-helper-maven-plugin
使用 maven 打包 src/test/java下的文件,并用 java jar 跑打包出来的jar
Maven内置变量说明
回滚revert和reset区别
getResourceAsStream properties
linux 下结合find 和 rm 删除大量文件
在IntelliJ IDEA中配置Google Java Code Style及代码格式化快捷键
ScheduledThreadPoolDemo01
热门文章
buildKibanaServerUrl
得到缩写的类名
mybatis报错java.lang.UnsupportedOperationException原因及处理方法
SCSI线缆 Small Computer System Interface
代码镇码--工具篇01
idea创建spring _fei
TOTOLINK EX300无线中继路由器
mysql操作查询结果case when then else end用法举例
jedisPool实现原理及源码分析(1)----对象池的说明
sql语句优化:用join取代not in
Copyright © 2011-2022 走看看