Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to build project output group Content Files from

currently I'm trying to create an WebSetup Project for one of our ASP.net4/Silverlight-Web Applications using Visual Studio 2010.

I created the setup Project according to this tutorial, but when I'm trying to build the Setup Project (I did a build of the whole solution before), I get the following error:

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

According to this and almost any other site I found, this error refers to items that are included in the web-project but missing on disk.

I checked all my projects twice, there is no missing file. Are there any other solutions to this problem?

Other things I tried:

  • This post: I do have .xml Files accompanying our .dlls. I also removed the xml File from my project, but it didn't help either

  • This post: Setting the startup project to my web application changed nothing.

Both of the above Posts are from this thread on forums.asp.net.

like image 710
Vertigo Avatar asked Mar 26 '12 12:03

Vertigo


1 Answers

I had this problem also. (Visual Studio 2010 Pro, .Net 4.0) I found the missing file using "Publish..." option. Right click on the web app. Up near the top of the menu (5th from the top for me) is "Publish...". Click that. I did "Publish method: File System". Publish fails for the same reason that building the setup fails. The difference is that when Publish fails, it gives an error message.

like image 190
user1698125 Avatar answered Sep 25 '22 12:09

user1698125