在设置 Windows 服务时遇到问题 [英] Facing a problem when i am making a setup of Windows Service

查看:34
本文介绍了在设置 Windows 服务时遇到问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试设置 Windows 服务.但是当我构建设置时,输出就是这样..

i am trying to make a setup of windows service.but when i was building the setup the output is like that..

------ Build started: Project: TwitterService, Configuration: Debug Any CPU ------
TwitterService -> C:\Users\Globus-n2\Desktop\LatestTweetMati\TwitterService\bin\Debug\TwitterService.exe
------ Starting pre-build validation for project 'Setup' ------ 
------ Pre-build validation for project 'Setup' completed ------
------ Build started: Project: Setup, Configuration: Debug ------
Building file 'C:\Users\Globus-n2\Desktop\LatestTweetMati\Setup\Debug\Setup.msi'...
Packaging file 'TwitterService.exe.config'...
Packaging file 'GlobusLib.dll'...
Packaging file 'TwitterService.exe'...
Packaging file 'GlobusTwitterLib.dll'...
========== Build: 1 succeeded or up-to-date, 1 failed, 0 skipped ==========

安装失败,我没有收到任何错误.我尝试制作一个新副本,但问题仍然存在.我尝试再次添加那些 dll,但问题没有解决.请任何人帮我解决这个问题如果有人尝试解决这个问题,我真的非常感谢.

setup is failed i am not getting any error.i have tried to make a new copy but still problem remain.i have tried to add those dll again but problem is not solved.can any one please help me to solve this problem.il really very thankful if any one try to solve this problem.

推荐答案

(我在这里假设你正在使用 Visual Studio 来构建这个项目)

尝试更改编译的输出详细程度.在 Visual Studio 中,转到 Tools ->选项 ->项目和解决方案 ->Build and Run 并更改标记为MSBuild project build output verbosity"的组合框的值.将其设置为 DetailedDiagnostic 应该会在输出窗口中为您提供更多信息,这有望让您更清楚地了解问题所在.

Try altering the output verbosity for the compilation. In Visual Studio, go to Tools -> Options -> Projects and Solutions -> Build and Run and change the value of the combo box labelled "MSBuild project build output verbosity". Setting it to Detailed or Diagnostic should give you more info in the output window, which will hopefully shed more light on what the problem might be.

这篇关于在设置 Windows 服务时遇到问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆