简体   繁体   English

无法构建应用安装程序

[英]Can't build app installer

I'm building msi installer for webapp to setup on client servers. 我正在为webapp构建msi安装程序以在客户端服务器上进行设置。 I have webapp working great, and I have .vdproj installer that I can't build because of following errors: 我有webapp工作得很好,我有.vdproj安装程序 ,因为以下错误我无法构建:

Unable to build project output group 'Content Files from X.Hosts.IIS (Active)'

I've investigated dependencies and found I have duplicated System.Net.Http libs 我已经调查了依赖项,发现我复制了System.Net.Http

在此输入图像描述

Any ideas to solve this? 任何解决这个问题的想法?

You are attempting to install two or more copies of the same file in the same folder. 您正在尝试在同一文件夹中安装同一文件的两个或多个副本。 Only one copy can be installed; 只能安装一个副本; however, multiple copies can be placed in the same folder in the File System Editor provided that each has a unique condition. 但是,多个副本可以放在文件系统编辑器的同一文件夹中,前提是每个副本都有唯一的条件。

To correct this error 纠正此错误

1. Double-click the error in the Task List to go to the file in the File System Editor . 1.双击任务列表中的错误,转到文件系统编辑器中的文件
2. Delete the duplicate file, or select the Condition property in the Properties window for each copy of the file and enter a unique condition for each. 2.删除重复文件,或在“ 属性”窗口中为文件的每个副本选择“ 条件”属性,并为每个文件输入唯一条件。

Read more: https://msdn.microsoft.com/en-us/library/zhx4ah11(v=vs.80).aspx 阅读更多: https //msdn.microsoft.com/en-us/library/zhx4ah11(v=vs.80).aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM