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)
查看全文
相关阅读:
【转】python:让源码更安全之将py编译成so
[转]Ubuntu python-config
【转】动态复权(真实价格)模式原理详解!
[转]Aroon Indicator
LeetCode 852. Peak Index in a Mountain Array
LeetCode 1257. Smallest Common Region
LeetCode 1034. Coloring A Border
LeetCode 348. Design Tic-Tac-Toe
LeetCode 452. Minimum Number of Arrows to Burst Balloons
LeetCode 733. Flood Fill
原文地址:https://www.cnblogs.com/yforg/p/1138536.html
最新文章
Python 爬虫实战(1):分析豆瓣中最新电影的影评
MySQL之事务
MySQL之存储过程
MySQL之函数
[转]python中pandas库中DataFrame对行和列的操作使用方法
【转】使用VisualStudio完成自动化C++代码生成和编译工作(GacUI)
[转]十年后,程序员还会有今天的收入吗?
[转]使用python爬取东方财富网机构调研数据
[转]golang的goroutine调度机制
[转]使用Cython来保护Python代码库
热门文章
[转]Python如何引入自定义模块?
ubuntu python3和python2切换脚本
【转】 Ubuntu在启动器添加程序快捷方式
【转】CUDA之Dynamic Parallelism详解
【转】nvidia-smi 命令解读
[转] Centos7 yum lock,无法上网问题,以及安装python3.5
[转]关于ImportError: xxxx.so: undefined symbol: PyFPE_jbuf的解决方案
[转]Python 模块收集
【转】利用Psyco提升Python运行速度
[转]Python 代码性能优化技巧
Copyright © 2011-2022 走看看