p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   All Other Wrox Books (http://p2p.wrox.com/forumdisplay.php?f=116)
-   -   Compiler Error Message: CS0246: The type or namesp (http://p2p.wrox.com/showthread.php?t=33477)

frmsasp September 17th, 2005 09:13 AM

Compiler Error Message: CS0246: The type or namesp
 
Dear Friends,

I am receiving the error shown below while importing namespace with C#.

Can someone tell me where am I going wrong.


************************************************** **************
************************************************** **************

Server Error in '/' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0246: The type or namespace name 'Acme' could not be found (are you missing a using directive or an assembly reference?)

Source Error:



Line 2: <%@ Import Namespace="System.Data.SqlClient" %>
Line 3: <%@ Import Namespace="System.Globalization" %>
Line 4: <%@ Import Namespace="Acme" %>
Line 5:
Line 6: <html>


Source File: c:\inetpub\wwwroot\samples\sample5.aspx Line: 4


c:\inetpub\wwwroot\samples\sample5.aspx(4,11): error CS0246: The type or namespace name 'Acme' could not be found (are you missing a using directive or an assembly reference?)

 ************************************************** **************
 ************************************************** **************









All times are GMT -4. The time now is 06:47 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.