473,406 Members | 2,849 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Adding a form and service to console app project.

Ok, I have a proxy server written in c#.

Because I'm maintaning two versions (a console application for debugging and
a windows service for deployment) I got the console application working,
then I added a service and wrote the service.

However, I can't seem to figure out a way to actually compile and use the
service. It is in the project, the code checks out when I build it, but all
that is output for my project is the console application.

I also added a windows form that serves as the configuration utility for
both applications. I also need to somehow compile it. (It is marked for
compile, as is the service but as I said, only the console app is actually
built).

It seems logical there should be a way to do this without doing seperate
projects, does anyone have any ideas?

Gracias,
Clif
Nov 16 '05 #1
1 1823
Clifton,

If you want to do this, the best way is to separate each into separate
projects. The service, the console app, and the windows forms client should
all be separate projects. This makes sense, as the project boundaries match
the logical boundaries.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Clifton Griffin" <cl*********@blogzine.net> wrote in message
news:Ot*************@TK2MSFTNGP11.phx.gbl...
Ok, I have a proxy server written in c#.

Because I'm maintaning two versions (a console application for debugging and a windows service for deployment) I got the console application working,
then I added a service and wrote the service.

However, I can't seem to figure out a way to actually compile and use the
service. It is in the project, the code checks out when I build it, but all that is output for my project is the console application.

I also added a windows form that serves as the configuration utility for
both applications. I also need to somehow compile it. (It is marked for
compile, as is the service but as I said, only the console app is actually
built).

It seems logical there should be a way to do this without doing seperate
projects, does anyone have any ideas?

Gracias,
Clif

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tim | last post by:
I need to create a C# service that will run a stored procedure which returns a result set. From there I need to create a file using the result set in a specific format. The format could be fixed...
7
by: sunil | last post by:
Hi all, I read an article from http://www.c-sharpcorner.com/Code/2003/Sept/InstallingWinServiceProgrammatically.asp about how to install a windows service programmatically. Based on the code...
20
by: =?Utf-8?B?cmtibmFpcg==?= | last post by:
I was executing the steps given in http://suppor.microsoft.com/kb/308359 for testing a sample web service application. However, the following line gives a compilation error: localhost.Service1...
5
by: dm3281 | last post by:
I'm really starting to hate writing services -- or trying to, anyway. Why do I need to rename my project to the service name? Why do I need to set the "ServiceName" property to my service name?...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.