C Board  

Go Back   C Board > General Programming Boards > C# Programming

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 06-18-2008, 07:40 PM   #1
Registered User
 
Join Date: May 2006
Posts: 1,579
Using System.ServiceProcess in console application

Hello everyone,


I want to use System.ServiceProcess in a console based application -- other than Windows Service application. But when add statement like -- "using System.ServiceProcess", there is compile error like,

error CS0234: The type or namespace name 'ServiceProcess' does not exist in the namespace 'System' (are you missing an assembly reference?)

Does anyone know the root cause and how to solve it? :-)


thanks in advance,
George
George2 is offline  
Old 06-18-2008, 11:36 PM   #2
the hat of redundancy hat
 
nvoigt's Avatar
 
Join Date: Aug 2001
Location: Hannover, Germany
Posts: 2,769
Quote:
(are you missing an assembly reference?)
A perfectly clear compiler message and George2... how else would that end. How about listening to your compiler ? Are you missing an assembly reference ? Yes, you are. Go fix it.
__________________
hth
-nv

She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

When in doubt, read the FAQ.
Then ask a smart question.
nvoigt is offline  
Closed Thread

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
simple snmp console application. csteinsv C++ Programming 0 06-01-2009 05:03 PM
Subject:How to create a C# console application? Adock C# Programming 5 09-03-2008 05:58 PM
Adding interface to Win32 console application motiz Windows Programming 5 01-03-2008 03:17 AM
Running a console application maxorator C++ Programming 4 10-03-2005 04:23 AM
Console Application Mont_Blanc C++ Programming 3 04-17-2004 03:07 AM


All times are GMT -6. The time now is 11:32 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22