building a windows service using msbuild -


Does any tutorial indicate that helps in the creation of windows services using msbill requirements: - csproj file Should not be used - output should be similar to the published option in Visual Studio

Updated question:

We have a project Window Service our In this window service in solution, we are living on a different system Some libraries are referring (one of them is not kept firmly). This solution also includes other class libraries and website / web-applications.

I am trying to write a custom build that produces an exquisite version of the website and an editable version of the window service. When I say service to windows, it appears on the Control Panel -> Service MMC.

The website build was easy through MSBill ... though I'm struggling with windows service to build. So far, my fellow developers were using right-click on the project file, and click Publish to publish the service of windows. This creates the setup.exe file that helps administrators deploy the service.

So, now my question is:

  • I want to use msbuild to make my windows service.
  • I do not want to use the .csproj file directly in conjunction with msbuild to build the service.
  • Output generates my build file "output" "option (* published option generates a setup.exe file *)

In general, under the cover, "Published Options" just runs a build with / t: Publish , that is, this is the default default Triggers a different goal for 'build'.

Can you tell us that you are looking for what , as you are not looking for?

Are you looking to create an MSI? (If so, you certainly will not use MSBuild, if you are using the built-in .vdproj system - but be careful - that means putting VS on the building server)


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -