zoukankan      html  css  js  c++  java
  • Asp.Net部署项目Build失败:Unable to build project output group 'Content Files from (Active)'

    ref:http://www.code101.com/Code101/DisplayArticle.aspx?cid=85

    Problem
    I got this Error message when I was trying to do a web set up for my ASP.NET Web Application. I get to this message in the output window during the compilation. Unfortunately the message shown does not contain any reason why this error occurred and how to resolve this.
    Error Message
    Unable to build project output group 'Content Files from <ProjectName> (Active)’ Where <ProjectName> is the Name of ASP.NET project for which I am trying to create a setup.
    Cause
    This Error occurs because some of the files referenced in your project are not present in the specified directory. While trying to build a set up, the Microsoft Installer (MSI) builder throws this error if it cannot find a physical file that is referenced in the project. So all the files referenced in the project should be present in the specified physical paths before you run the set up. In the following Solution explorer, some of the images like Branches.gif, CIP.gif etc... are not present in the specified path. If we try to build a set up for this project without excluding these files , the set up fails with the above error message.

    Solution

    a)Remove all the referenced files in the project that are not present in the designated physical path. These files have a yellow icon displayed next to it in Solution explorer. Expand all your project related folders like Images, Docs, References etc. and exclude all the files with yellow icon next to it from the project.

    b)Rebuild the Application and then Rebuild the Setup and Deployment Project.

    c)You should be able to build the setup successfully now.

  • 相关阅读:
    VMware虚拟机网络桥接模式下无法与主机ping通解决办法
    (一)编写Bootloader程序应该注意的一些问题
    使用TrueSTUDIO和MDK编译器生成.bin文件
    Linux开发板通过串口与电脑上位机通信
    STM32知识点
    仿真器SWD可不接复位引脚的原因
    ARM内核常用缩写含义
    三大范式(转)
    修改主键示例
    ROW_NUMBER用法详解
  • 原文地址:https://www.cnblogs.com/ddeef/p/115883.html
Copyright © 2011-2022 走看看