Visual Studio安装项目说构建失败,但没有说明原因

时间:2011-07-26 14:05:41

标签: c++ visual-studio-2008 dll setup-project

------ Starting pre-build validation for project 'CServ Setup' ------ 
WARNING: All custom dialogs must precede the 'Installation Folder' dialog.
------ Pre-build validation for project 'CServ Setup' completed ------
1>------ Build started: Project: CServ Setup, Configuration: Release-W2k3 ------
Building file 'C:\temp\Backup Solution Sources\SQLite\CServ Setup\Release-W2k3\CServ     Setup.msi'...
WARNING: No 'HomeSite' attribute has been provided for 'Visual C++ Runtime Libraries (x86)', so the package will be published to the same location as the bootstrapper.
Packaging file 'MD5.dll'...
Packaging file 'Service Installer.exe'...
Packaging file 'Common.dll'...
Packaging file 'cygbz2-1.dll'...
Packaging file 'ConfigEditor.exe'...
Packaging file 'dr4qvb9h.pol'...
Packaging file 'crx86.dll'...
Packaging file 'cygwin1.dll'...
Packaging file 'CServ Service.exe'...
Packaging file 'cmx86.dll'...
Packaging file 'dtblcyrm.pol'...
Packaging file 'CServConfig.xml'...
Packaging file '6yixebcz.pol'...
Packaging file 'SocHandler.dll'...
Packaging file 'knj_y5bk.pol'...
Packaging file 'OServHandler.dll'...
Packaging file 'AdminConsoleInterface.dll'...
Packaging file 'cmx86.dll'...
Packaging file 'sc.exe'...
Packaging file 'TransferServer.dll'...
Packaging file 'cmx86.dll'...
Packaging file '7b0ouomo.mic'...
Packaging file 'StartCServ.exe'...
Packaging file 'HouseKeeper.dll'...
Packaging file 'crx86.dll'...
Packaging file 'Logger.dll'...
Packaging file 'cpx86.dll'...
Packaging file 'zip.exe'...
Packaging file 'Backup Solution Watchdog.exe'...
Packaging file 'ConfigurationHandler.dll'...
Packaging file 'cpx86.dll'...
Packaging file 'sqlite3.dll'...
Packaging file 'zlib1.dll'...
Packaging file 'cg2bqsbk.mic'...
Packaging file 'crx86.dll'...
Packaging file 'dr_73xog.mic'...
Packaging file 'CServHousekeeperConfig.xml'...
Packaging file 'CServLoggerConfig.xml'...
Packaging file 'CServ.dll'...
Packaging file 'cpx86.dll'...
Packaging file 'xerces-c_2_8.dll'...
Packaging file 'Scheduler.dll'...
Packaging file 'wuqeehyk.mic'...
Packaging file 'unzip.exe'...
Packaging file 'ufdprep.exe'...
Packaging file 'CompressionTool.dll'...
========== Build: 0 succeeded, 1 failed, 18 up-to-date, 0 skipped ==========

这是我在安装项目上进行构建时获得的输出。请注意,所有其他文件/输出都来自同一解决方案中的其他项目。我该如何解决此问题?

此外,它还会创建msi文件,但安装后,应用程序无法正常工作。控制台程序缺少很多cout语句

1 个答案:

答案 0 :(得分:3)

在“工具 - &gt;选项”菜单中,“项目和解决方案 - &gt;构建并运行”将“MSBuild项目构建输出详细程度”的值更改为“详细信息”或“诊断”,以帮助您找到问题。< / p>