-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot specify custom configuration filename #1057
Comments
Rename your prefered winsw.exe to blackbox_service.exe |
I figured out the problem. The default documentation page is for v3.0 and the "latest release" is v2.0, so a new user can get confused (like I did) very quickly when the documentation doesn't match the behavior. When I downloaded the pre-release Alpha for testing, the behavior worked as expected with respect to the config file name. Now that I know this, I'm refactoring my Windows PowerShell script to support v2.x behavior because our organization does not permit running pre-release software. To the maintainers, please leave v2 as your default documentation until v3 is officially the "latest release". Thanks, |
Summary
I should be able to follow the directions and specify a custom XML configuration filename, but WinSW errors out every time because it does not see a configuration file the same name as the executable. Example: WinSW.NET461.xml or WinSW-x64.xml
Steps to reproduce
.\WinSW.exe install <CONFIGFILENAME>
. (ReplaceWinSW.exe
with whatever filename you use for WinSW. I am using the .NET461 version in this reproduction steps, though it also reproduces with x64 version.)Additional Output from different compile targets:
Here is my configuration file
Environment
The text was updated successfully, but these errors were encountered: