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

扩展请求 linux下的web部署 #5

Open
Mn-Simple opened this issue Apr 25, 2023 · 5 comments
Open

扩展请求 linux下的web部署 #5

Mn-Simple opened this issue Apr 25, 2023 · 5 comments

Comments

@Mn-Simple
Copy link

实现linux下的web部署,从而不用手敲system

@xljiulang
Copy link
Owner

本项目和“部署”没有任何关系,也不打算切入

@Mn-Simple
Copy link
Author

我表达的问题, 是将web安装为服务进程,
image

@xljiulang
Copy link
Owner

这个库本身已支持这个需求

@Mn-Simple
Copy link
Author

Mn-Simple commented Apr 25, 2023

破案
.net 3.1 Program.cs 和 Startup.cs 分别设置如下
image
image
报错
image
添加api-ms-win-service-winsvc-l1-2-0.dll 后
image

.net6 Program.cs 设置如下 成功运行
image

@xljiulang
Copy link
Owner

运行在不同的计算机上吧?

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

No branches or pull requests

2 participants