You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now performing this and running the build doesn't automatically create the windows service. I found that this was applicable when the code was modified to change the string inside the Cli.Wrap from "sc" => "sc.exe" as shown below:
Type of issue
Code doesn't work
Description
Create a Windows Service installer
When performing this tutorial:
(https://learn.microsoft.com/en-us/dotnet/core/extensions/windows-service-with-installer?tabs=ext)
Using the Microsoft Installer Extension
If you are installing the CliWrap as part of the antipattern, this is the current sample code that is present in the docs
Now performing this and running the build doesn't automatically create the windows service. I found that this was applicable when the code was modified to change the string inside the Cli.Wrap from "sc" => "sc.exe" as shown below:
This was performed with using Cli.Wrap 3.6.7 on .net8.0
Page URL
https://learn.microsoft.com/en-us/dotnet/core/extensions/windows-service-with-installer?tabs=ext
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/extensions/windows-service-with-installer.md
Document Version Independent Id
83c4d805-1394-90b7-6def-cf809c33ae22
Article author
@IEvangelist
Metadata
Related Issues
The text was updated successfully, but these errors were encountered: