|
-
October 13th, 2006, 01:59 PM
#1
System.Web.Mail problem
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
-
October 13th, 2006, 07:38 PM
#2
Re: System.Web.Mail problem
 Originally Posted by pompom
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.
Well, first of all: Is this supposed to be a managed C++ app, using the .NET framework, or native C++?
-
October 14th, 2006, 07:54 AM
#3
Re: System.Web.Mail problem
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|