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)
查看全文
相关阅读:
datagridview 批量更新、日期设置、指定列弹出右键菜单
CAD ObjectARX扩展工具的源码(二)
ObjextARX-VS2005-字符串转换
二叉搜索树(二叉查找树)
贪婪算法-货物装载问题
Messagebox.Show()常用参数的讨论
关于矩形排样问题(三)
单纯形法实现一维管材排料最优化
[转载]共享一些常用的代码
转载]取硬盘ID的API实现
原文地址:https://www.cnblogs.com/yforg/p/1138536.html
最新文章
VS2017中使用ObjectARX 2019 wizard的 ArxWizMFCSupport向导出现的bug修复前因后果
ObjectARX创建带文字的线型实例代码
[资料]ObjectARX 2020参考指南翻译中文版
在ObjectARX中创建OPM项目的时候出现 MIDL1012: argument illegal for switch / header错误的解决方式
vs2010+ARX2012向导添加mfc支持类出现Error in default.htm PopulateDialogIDs():
使用ObjectARX 2012向导生成的自定义实体类无法捕捉的问题解决方式
Dynamic Property Wizard 添加类提示 ATL类只能添加到MFC EXE 和MFC规则DLL项目或完全支持ATL的项目 错误提示解决方式
objectARX2010及其以上版本使用publish打印(发布)图纸,后台布局打印图纸例子浅析
acedSSSetFirst选择集夹点亮显实例
设置视口中心点setViewCenter
热门文章
使用wblockCloneObjects从后台读取dwg文件复制实体到当前数据库
删除标注关联仿dda命令DIMDISASSOCIATE
AcDbTable表格实体的简单例子
Java——成语接龙——递归算法——SpringJDBC+c3p0
winform——windows 服务的安装 卸载 启动 停止
解决 C# 连接oracle 读出中文乱码的问题
java jdbc 得到像C#里的datatable一样的表格
java 反射——任意类型数组扩容
java练习项目——记账本
记录一次配置iis与Sqlserver的集成windows账户登录
Copyright © 2011-2022 走看看