<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Build fails with &quot;...Web.csproj&quot; was not found</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Build fails with &quot;...Web.csproj&quot; was not found</description>
  <pubDate>Sat, 11 Apr 2026 07:04:44 -700</pubDate>
  <lastBuildDate>Sat, 01 Aug 2009 18:11:12 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=1407</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Build fails with &quot;...Web.csproj&quot; was not found : Your build fails with single message...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1407&amp;PID=5095#5095</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=482" rel="nofollow">WardBell</a><br /><strong>Subject:</strong> 1407<br /><strong>Posted:</strong> 01-Aug-2009 at 6:11pm<br /><br /><P>Your build fails with single message such as "The project file "..\ModelExplorerWeb\PrismExplorerWeb.csproj" was not found.&nbsp;PrismExplorer.Shell"</P><DIV>In this example "Shell" is your Silverlight application project ... and you have no idea why it would even be looking for a Web project ... let along this one. You search and can't find any references to it ... and you say "That would be a .NET project anyway; my Silverlight project can't have a reference to a .NET project".</DIV><DIV>&nbsp;</DIV><DIV>THINK: <strong>Did you install RIA Services</strong> ... perhaps to see how that works?</DIV><DIV>&nbsp;</DIV><DIV>I did. The install modifies the wizards in Visual Studio and this has consequences for all of your existing Silverlight applications. Yup ... they could all fail this way and they will all build now with hidden junk you don't want. Read on.</DIV><DIV>&nbsp;</DIV><DIV>I'm assuming you aren't using RIA Services. Well RIA Services is using you. Here are your clues.</DIV><DIV>&nbsp;</DIV><DIV>1) Look at the Silverlight tab of your Silverlight applications properties view. There's something new at the bottom, The .NET RIA Services&nbsp;link, and it's pointing at&nbsp;a web project sort of like this:</DIV><DIV><BR><img src="http://www.ideablade.com/forum/uploads/482/RiaPropertiesTab.PNG" height="183" width="497" border="0" style="WIDTH:%20311px;%20HEIGHT:%20130px" /></DIV><DIV>&nbsp;</DIV><DIV>You didn't choose this setting. RIA did it for you ... without asking. Thanks, RIA Services!</DIV><DIV>&nbsp;</DIV><DIV>In fact, the project named could be detritus from who knows where and might describe a project you don't even have!</DIV><DIV>&nbsp;</DIV><DIV>If you aren't using RIA Services in your application, <strong>reset the value to "&lt;No Project Set&gt;"</strong>. Even if there is no apparent problem, change this to "&lt;No Project Set&gt;". If you don't, there is another side-effect. This is clue-to-problem #2</DIV><DIV>&nbsp;</DIV><DIV>2) RIA Services is generating code into a hidden folder!</DIV><UL><LI>In the Solution Explorer, open up the Silverlight application node</LI><LI>Click the "Show all files button"</LI><LI>Notice the "Generated_Code" folder!</LI></UL><DIV>&nbsp;</DIV><DIV><img src="http://www.ideablade.com/forum/uploads/482/RiaGeneratedFolder.PNG" height="311" width="223" border="0" style="WIDTH:%20177px;%20HEIGHT:%20253px" /></DIV><DIV>&nbsp;</DIV><DIV>You certainly don't want to carry this around. Get rid of it:</DIV><OL><LI>Make sure the .NET RIA Services Link = "&lt;No Project Set&gt;"</LI><LI>Delete "Generated_Code"</LI></OL><P>Now rebuild. The problem should go away and the Generated_Code folder should stay gone.</P><DIV>Thanks, RIA Services!</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 01 Aug 2009 18:11:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1407&amp;PID=5095#5095</guid>
  </item> 
 </channel>
</rss>