Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

adding managed extensions in VC.Net - Error!

Status
Not open for further replies.

BlackDice

Programmer
Mar 1, 2004
257
US
I have a VC 6 project that I'm converting to .Net and I'm trying to use managed extensions. In the project properties, I've set the 'Use Managed Extensions' option to YES and added the following using directives to my stdafx.h file:

#using #using #using using namespace System;using namespace System::Windows::Forms;using namespace System::Text::RegularExpressions;


now when I try to compile the project, I get the following error:

cl : Command line error D2016 : '/RTC1' and '/clr' command-line options are incompatible

can anyone help?


bdiamond
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top