gpt4 book ai didi

c# - 安装 .NET Windows 服务

转载 作者:太空狗 更新时间:2023-10-30 00:36:40 25 4
gpt4 key购买 nike

我正在尝试安装我编写的第一个服务:

installutil XMPPMonitor.exe

我收到以下消息:

Running a transacted installation.

Beginning the Install phase of the installation.
See the contents of the log file for the E:\Documents\Projects\XMPPMonitor\XMPPMonitor\bin\Debug\XMPPMonitor.exe assembly's progress.
The file is located at E:\Documents\Projects\XMPPMonitor\XMPPMonitor\bin\Debug\XMPPMonitor.InstallLog.

The Install phase completed successfully, and the Commit phase is beginning.
See the contents of the log file for the E:\Documents\Projects\XMPPMonitor\XMPPMonitor\bin\Debug\XMPPMonitor.exe assembly's progress.
The file is located at E:\Documents\Projects\XMPPMonitor\XMPPMonitor\bin\Debug\XMPPMonitor.InstallLog.

The Commit phase completed successfully.


The transacted install has completed.

但是当我运行 services.msc 时,我没有设置列出的服务。我错过了什么吗?

最佳答案

确保您正确创建和配置了 ServiceInstallerServiceProcessInstaller .这些是 installutil 用于在进程中实际注册每个服务的内容。

关于c# - 安装 .NET Windows 服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1240358/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com