Skip to content
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

Correct creation command in "Create a Windows Service using BackgroundService" #26274

Closed
IEvangelist opened this issue Sep 27, 2021 · 1 comment · Fixed by #26372
Closed

Correct creation command in "Create a Windows Service using BackgroundService" #26274

IEvangelist opened this issue Sep 27, 2021 · 1 comment · Fixed by #26372
Assignees
Labels

Comments

@IEvangelist
Copy link
Member

We need to update the windows service hosting document https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/windows-service?view=aspnetcore-5.0&tabs=visual-studio to mention that the service should be created passing the --contentRoot argument.

We might want to do the same here for good measure:

Related to : dotnet/AspNetCore.Docs#23387 (comment)

https://docs.microsoft.com/en-us/dotnet/core/extensions/windows-service#create-the-windows-service

@mrlife
Copy link
Contributor

mrlife commented Oct 13, 2021

@IEvangelist Would you happen to know how the other version in the top comment (the sequence on this docs page) would look with a content root supplied? I can't find anything about adding that. Thanks for any help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants