pompom
October 13th, 2006, 01:59 PM
Guys:
I added refeence to system.web.dll in a VS project, and put "using namespace System::Web::Mail;" in StdAfx.h, but when I buiild solution , it gave me error says "system is not a class or namespace name" and " Mail a namespace with this name does not exist". I change the project properties, I changed "Use managed Extensions" from No to Yes, it says Command line error D2016:'/RTC1' and '/clr' command-line options are incompatible.
Anyone can give a reason of why it is working for all other dll but it does not work for system.web.dll? And how to solve this probelm.
Thanks A lot .
pom
I added refeence to system.web.dll in a VS project, and put "using namespace System::Web::Mail;" in StdAfx.h, but when I buiild solution , it gave me error says "system is not a class or namespace name" and " Mail a namespace with this name does not exist". I change the project properties, I changed "Use managed Extensions" from No to Yes, it says Command line error D2016:'/RTC1' and '/clr' command-line options are incompatible.
Anyone can give a reason of why it is working for all other dll but it does not work for system.web.dll? And how to solve this probelm.
Thanks A lot .
pom