Adding a form and service to console app project.

C

Clifton Griffin

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
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top