Jeeck
asked on
Assembly ... doesn't contain any UserControl types
Hello
I can't even launch my program anymore. I have this error when I try to run the program:
System.ArgumentException was unhandled
Message="Assembly 'C:\\Documents and Settings\\..........\my.dl l doesn't contain any UserControl types."
Source="UserControlTestCon tainer"
StackTrace:
at Microsoft.VisualStudio.Too ls.UserCon trolTestCo ntainer.Us erControlT estContain er_Load(Ob ject sender, EventArgs e)
at System.Windows.Forms.Form. OnLoad(Eve ntArgs e)
at System.Windows.Forms.Form. OnCreateCo ntrol()
at System.Windows.Forms.Contr ol.CreateC ontrol(Boo lean fIgnoreVisible)
at System.Windows.Forms.Contr ol.CreateC ontrol()
at System.Windows.Forms.Contr ol.WmShowW indow(Mess age& m)
at System.Windows.Forms.Contr ol.WndProc (Message& m)
at System.Windows.Forms.Scrol lableContr ol.WndProc (Message& m)
at System.Windows.Forms.Conta inerContro l.WndProc( Message& m)
at System.Windows.Forms.Form. WmShowWind ow(Message & m)
at System.Windows.Forms.Form. WndProc(Me ssage& m)
at System.Windows.Forms.Contr ol.Control NativeWind ow.OnMessa ge(Message & m)
at System.Windows.Forms.Contr ol.Control NativeWind ow.WndProc (Message& m)
at System.Windows.Forms.Nativ eWindow.De buggableCa llback(Int Ptr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.SafeN ativeMetho ds.ShowWin dow(Handle Ref hWnd, Int32 nCmdShow)
at System.Windows.Forms.Contr ol.SetVisi bleCore(Bo olean value)
at System.Windows.Forms.Form. SetVisible Core(Boole an value)
at System.Windows.Forms.Contr ol.set_Vis ible(Boole an value)
at System.Windows.Forms.Appli cation.Thr eadContext .RunMessag eLoopInner (Int32 reason, ApplicationContext context)
at System.Windows.Forms.Appli cation.Thr eadContext .RunMessag eLoop(Int3 2 reason, ApplicationContext context)
at System.Windows.Forms.Appli cation.Run (Form mainForm)
at Microsoft.VisualStudio.Too ls.UserCon trolTestCo ntainer.Ma in(String[ ] args)
InnerException:
Any help will appreciated...Thanks
I can't even launch my program anymore. I have this error when I try to run the program:
System.ArgumentException was unhandled
Message="Assembly 'C:\\Documents and Settings\\..........\my.dl
Source="UserControlTestCon
StackTrace:
at Microsoft.VisualStudio.Too
at System.Windows.Forms.Form.
at System.Windows.Forms.Form.
at System.Windows.Forms.Contr
at System.Windows.Forms.Contr
at System.Windows.Forms.Contr
at System.Windows.Forms.Contr
at System.Windows.Forms.Scrol
at System.Windows.Forms.Conta
at System.Windows.Forms.Form.
at System.Windows.Forms.Form.
at System.Windows.Forms.Contr
at System.Windows.Forms.Contr
at System.Windows.Forms.Nativ
at System.Windows.Forms.SafeN
at System.Windows.Forms.Contr
at System.Windows.Forms.Form.
at System.Windows.Forms.Contr
at System.Windows.Forms.Appli
at System.Windows.Forms.Appli
at System.Windows.Forms.Appli
at Microsoft.VisualStudio.Too
InnerException:
Any help will appreciated...Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.