Windows Services Tutorial not working out................

W

weird0

On this link http://msdn2.microsoft.com/en-us/library/aa984464(VS.71).aspx,
i tried this tutorial and it lists the following steps:

Next you will add the output from the Windows Service project,
MyNewService.exe, to the setup.

To add MyNewService.exe to the setup project

1. In Solution Explorer, right-click MyServiceSetup, point to Add,
then choose Project Output.

The Add Project Output Group dialog box appears.
2. MyNewService is selected in the Project box.
3. From the list box, select Primary Output, and click OK.

A project item for the primary output of MyNewService is added
to the setup project. Now add a custom action to install the
MyNewService.exe file.

The problem:

When i selected, Add -> Project Output ..... The dialog box appeared
but as blank and it did not have any options. It does not have
anything selected in it.

What to do ? I have tried this tutorial 4 to 5 times and the same
tutorial is given on codeproject.
 
D

DeveloperX

On this linkhttp://msdn2.microsoft.com/en-us/library/aa984464(VS.71).aspx,
i tried this tutorial and it lists the following steps:

Next you will add the output from the Windows Service project,
MyNewService.exe, to the setup.

To add MyNewService.exe to the setup project

1. In Solution Explorer, right-click MyServiceSetup, point to Add,
then choose Project Output.

The Add Project Output Group dialog box appears.
2. MyNewService is selected in the Project box.
3. From the list box, select Primary Output, and click OK.

A project item for the primary output of MyNewService is added
to the setup project. Now add a custom action to install the
MyNewService.exe file.

The problem:

When i selected, Add -> Project Output ..... The dialog box appeared
but as blank and it did not have any options. It does not have
anything selected in it.

What to do ? I have tried this tutorial 4 to 5 times and the same
tutorial is given on codeproject.

Are you adding the setup project to the solution or closing your
service project and creating the setup project on its own? If I just
create a setup project I see what you're seeing, if it's in a solution
with any other project, the other project is listed.

Also, what version of Visual Studio are you using?
 
G

Guest

Hello,
Simply, you are adding a stand lone setup project, i.e, you are not
attaching the setup project to your solution.
instead of adding new project from the file tab. go to solution explorer,
right click your solution and click on add new project, then follow the
steps, you will have the "my new service" in the project dropdown list!

Enjoy...

Husam Al-A'araj
 

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