Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6032
  • Last Modified:

The type 'System.ComponentModel.Component' is defined in an assembly that is not referenced. You must add a reference to assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934

I got this error, and I think I should add some references.  
The type 'System.ComponentModel.Component' is defined in an assembly that is not referenced. You must add a reference to assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Where can I find the references?
0
kyekim
Asked:
kyekim
1 Solution
 
SaedSalmanCommented:
System.ComponentModel.Component is in the System.dll.  So, you are using stuff that is not in the .NET micro framework.  You will need to really go micro or switch back to the standard framework.

this what MSDN Forum said,
0
 
kyekimAuthor Commented:
I have 'using System;' in my script, but somehow I re-added it, and it worked... thank you.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now