Solved

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

Posted on 2009-04-06
2
5,816 Views
Last Modified: 2013-12-17
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
Comment
Question by:kyekim
2 Comments
 
LVL 6

Accepted Solution

by:
SaedSalman earned 250 total points
ID: 24080006
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
 

Author Closing Comment

by:kyekim
ID: 31567151
I have 'using System;' in my script, but somehow I re-added it, and it worked... thank you.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this previous article (https://oddytee.wordpress.com/2016/05/05/provision-new-office-365-user-and-mailbox-from-exchange-hybrid-via-powershell/), we made basic license assignments to users in O365. When I say basic, the method is the simplest way …
Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question