C++ .net newbie problem

Tumunzahar

Newcomer
Joined
Jan 1, 2004
Messages
6
Hi,

I'm writing one of my first programs in C++ .net

on the lines #include "stdafx.h" and #using <mscorlib.dll>

I get these errors :

fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory

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


Please help me,

Thanks
 
Are you using a "Managed C++ Application" or a "Win32 Project". If you're using a Win32 project you'll need to add /clr to the compiler commandline in your project properties.
 
Back
Top