Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / March 2005

Tip: Looking for answers? Try searching our database.

fatal error C1190: managed targeted code requires '#using <mscorlib.dll>' and '/clr' option

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hepsi - 24 Nov 2003 20:07 GMT
I'm developing a utility using Visual C++.NET standard 2003.  
When I try to compile a sample code, I got the below error

Fatal Error C1190:Managed Target Code Requires '#using
<mscorlib.dll>' and '/clr' Option.

My sample code has a line to include the file called 'mscorlib.dll'.
The line of code I am using is:
                        #using <mscorlib.dll>

Can someone help me to solve this issue.
Ken Varn - 20 Jan 2004 17:23 GMT
I have had this problem.  Try adding a reference to mscorelib.dll.  Also,
just to be sure, double check to see if you have the /clr compiler option
specified.

Signature

-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.

EmailID = varnk
Domain = Diebold.com
-----------------------------------

> I'm developing a utility using Visual C++.NET standard 2003.
> When I try to compile a sample code, I got the below error
[quoted text clipped - 7 lines]
>
> Can someone help me to solve this issue.
glich - 28 Mar 2005 22:40 GMT
I no this sownds as if I am an ameture but.... where is ym compiler options
! I cant finde it eny were!

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.