Senior & Expert .Net Developers Discussion Forum by Nyros Technologies

HIRE .Net Expert Developers Programmers Coders From India
Ruby on Rails PHP .Net Developers Community, Nyros Technologies, Kakinada
 
Log in  or IF not a member please REGISTER
Username:
Password:   


Keyword
Log in | Profile 

error CS0246: The type or namespace name '*'

 
Post new topic   Reply to topic    Senior & Expert .Net Developers Discussion Forum by Nyros Technologies Index -> Developing Application Frameworks in .Net
View previous topic :: View next topic  
Author Message
david



Joined: 27 Aug 2007
Posts: 14

PostPosted: Tue Apr 28, 2009 3:28 am    Post subject: error CS0246: The type or namespace name '*' Reply with quote

Hello Experts,

I creating a class library. in that i am referring a *.dll. while building the solution the project is building successfully. but when i compile the class file through command prompt it is encountering following error.

here is my command

csc /t:library doctest.cs

when i run this command prompting the following error

DocTest.cs(6,7): error CS0246: The type or namespace name '*' could not b
found (are you missing a using directive or an assembly reference?)


any idea? please helps me...

thanking you in advance,


regards,
vamsi
Back to top
View user's profile Send private message Send e-mail
manoj



Joined: 21 Aug 2007
Posts: 100

PostPosted: Tue Apr 28, 2009 3:34 am    Post subject: Reply with quote

Hi vamsy,

I guess the problem is with reference dll. you have the specify the location of the dll in the compile command.

command is as follows

csc /t:library /reference:C:\WINNT\Microsoft.NET\Fra
mework\v2.0.50727\*.dll DocTest.cs


try this command..i hope this may helps you...


regards,
manoj
Back to top
View user's profile Send private message Send e-mail
david



Joined: 27 Aug 2007
Posts: 14

PostPosted: Tue Apr 28, 2009 3:54 am    Post subject: Reply with quote

Thanks for your solution manoj, it is working fine now.........
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Senior & Expert .Net Developers Discussion Forum by Nyros Technologies Index -> Developing Application Frameworks in .Net
Page 1 of 1

 latest topics 
 Topics   Replies   Author   Views   Last Post 
No new posts Show Notification in Status Bar in Android Application
0 vijayalakshmi 15 Tue Mar 09, 2010 9:36 am
vijayalakshmi View latest post
No new posts Changing the date and time in SQL Server using T-SQL
0 muralikrishna 31 Fri Mar 05, 2010 3:18 pm
muralikrishna View latest post
No new posts Using TableLayout in Android Layout file:
0 vijayalakshmi 31 Fri Mar 05, 2010 5:03 am
vijayalakshmi View latest post
No new posts TabActivity with Intents in Android:
0 vijayalakshmi 28 Fri Mar 05, 2010 4:46 am
vijayalakshmi View latest post
No new posts Show different components in different styles in Android?
0 vijayalakshmi 25 Fri Mar 05, 2010 3:39 am
vijayalakshmi View latest post
No new posts VIEWSTATE SIZE BYTES SHOWS 0 IN TRACE.AXD
1 sanjoo8959 39 Wed Mar 03, 2010 9:18 am
Dileep View latest post
No new posts How to mark incoming Sms as read in Android programatically?
0 vijayalakshmi 31 Mon Mar 01, 2010 1:12 pm
vijayalakshmi View latest post
No new posts How to control(Start,Stop) windows Services in C#?
0 Raghavendra 36 Mon Mar 01, 2010 12:57 pm
Raghavendra View latest post
No new posts Dialog Box with Spinner View in Android:
0 vijayalakshmi 60 Mon Mar 01, 2010 12:24 pm
vijayalakshmi View latest post
No new posts How many PCs in the world have the .NET Framework installed?
0 Raghavendra 33 Mon Mar 01, 2010 11:51 am
Raghavendra View latest post




Hire an expert .Net developer / coder / programmer or development team from India now!!

Other Forums : Ruby on Rails   ::   PHP   |   Free unlimited HTML CSS templates download

Nyros Technologies   |   Kakinada City Portal   |   Developers Blog   |   About .Net Experts   |   More