|
-
Dec 3rd, 2010, 04:04 AM
#1
Thread Starter
Fanatic Member
Could not find type 'System.ComponentModel.IContainer'
Could not find type 'System.ComponentModel.IContainer'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.
Okay suddenly I got that error. I think the issue is I didn't include a certain reference. But what?
-
Dec 3rd, 2010, 05:10 AM
#2
Re: Could not find type 'System.ComponentModel.IContainer'
Hi,
I think you can find some information, here.
-
Apr 30th, 2011, 08:35 AM
#3
Thread Starter
Fanatic Member
Re: Could not find type 'System.ComponentModel.IContainer'
-
Apr 30th, 2011, 08:37 AM
#4
Thread Starter
Fanatic Member
Re: Could not find type 'System.ComponentModel.IContainer'
If I click add reference I do not find System.ComponentModel
-
Apr 30th, 2011, 08:50 AM
#5
Re: Could not find type 'System.ComponentModel.IContainer'
Hi,
What version your working with?
Because when you rightclick in the solution Explorer: select -> add Reference go to the .Net part and then you'll find: System.ComponentModel.DataAnnotations
When you add this Framework it provides containers functionality.
Last edited by sparrow1; Apr 30th, 2011 at 09:01 AM.
-
May 1st, 2011, 11:49 AM
#6
Thread Starter
Fanatic Member
Re: Could not find type 'System.ComponentModel.IContainer'
Hm... I'll try then.
The problem is I opened a different project file (that points to the same files) and somehow it works. No question asked.
I remember that this is not the first time I have this problem.
-
May 2nd, 2011, 12:48 AM
#7
Re: Could not find type 'System.ComponentModel.IContainer'
Hi,
If that solved your problem, mark your thread as solved.
-
May 2nd, 2011, 10:30 AM
#8
Thread Starter
Fanatic Member
Re: Could not find type 'System.ComponentModel.IContainer'
Not solved. The original vb.net file still produced this error and I still can't fix it. Another similar project file (that uses local files rather than remote) works fine.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|