Scott Hanselman

Visual Studio MSI Problems: Unable to build project output group 'Content Files from SOMEWEB (Active)'

June 22, '04 Comments [7] Posted in ASP.NET
Sponsored By

Often when building MSI Windows Installers from ASP.NET Web Projects within Visual Studio.NET you'll get this error:

Unable to build project output group 'Content Files from SOMEWEB (Active)'

And you'll have no idea why this happened, no descriptive error message, nada.

Turns out that this is the MSI builder's way of telling you that it can't physically find a Content File that is referenced in the Project (CSPROJ, or VBPROJ). 

The trick is turn on 'Show All Files' and open every folder until you find one with the Yellow Yield Icon.  This subtle tip is telling you that this file doesn't exist on disk, but it does exist in the Project.  Right-Click on it and Exclude From Project. 

When the MSI Installer builder can't find a file marked as Content, it borks.

Enjoy.

 

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by ORCS Web
Tuesday, June 22, 2004 8:37:43 PM UTC
Bork???

http://smallurl.com/?i=14098
Tuesday, June 22, 2004 9:38:42 PM UTC
Ah, I always just ignore those errors, but it sure is nice to know what they're from!
Thursday, June 24, 2004 6:27:24 PM UTC
Greg, this like has a more appropriate definition:
http://everything2.com/index.pl?node_id=49678.
Rocco
Wednesday, October 05, 2005 8:50:06 PM UTC
Thanks - just had this exact problem and was going crazy trying to figure out why my project wasn't building right anymore!
karen
Monday, October 17, 2005 12:16:47 AM UTC
Ah... thanks for that.
It would be really nice if it would actually complain about the file that was missing!
Hamish Graham
Tuesday, November 01, 2005 9:23:47 PM UTC
Thank you Scott. Once again you have saved my laptop from being thrown out of the window.
Tuesday, January 10, 2006 11:05:20 PM UTC
And what do you do if, after you've gone through every file in your project - and not a single file has that yellow ! I've gone through ever line of my csproj and vbprob files...nothing out of the ordinary and all my files are present and accounted for.
steve
Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.