Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I write and install windows services in another computer but I can't find exe file of my solution in Project/bin/debug.

here way of the install I used :

  • open cmd for visual studio developers.
  • cd windows/microsoft.net/framework
  • install.exe project exe file (i can't find it)
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
221 views
Welcome To Ask or Share your Answers For Others

1 Answer

If you are using Visual Studio for your service implementation, open that solution in Visual Studio, and right click on the windows service project and click Properties.

In the properties window, Select the Build tab on the right hand side, and then find the Output section which will tell you the output path of the exe.

This way you con locate where the exe file of your service is.

To install the service, you do not have to navigate to windows/microsoft.net/framework location when you open visual studio developer command prompt. Instead, navigate to the folder where your project.exe resides and then call install project.exe

Hope this helps


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...