• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Asp.Net部署项目Build失败:Unabletobuildprojectoutputgroup'ContentFilesfrom(Activ ...

原作者: [db:作者] 来自: [db:来源] 收藏 邀请
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.


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
ASP.NET和ASP中使用OLEDB产生的错误:'0x80004005'未指定的错误发布时间:2022-07-10
下一篇:
Asp.NETMVCJSON序列化问题发布时间:2022-07-10
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap