<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Installation and Setup</title><link>http://forums.silverlight.net/forums/13.aspx</link><description>All about installing and getting Silverlight running on your system</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Silverlight startup error with resources - Summary of fix</title><link>http://forums.silverlight.net/forums/thread/46863.aspx</link><pubDate>Wed, 16 Apr 2008 03:17:23 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:46863</guid><dc:creator>Eric Willeke</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/46863.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=13&amp;PostID=46863</wfw:commentRss><description>&lt;p&gt;Original thread: http://silverlight.net/forums/p/11902/46857.aspx#46857&lt;/p&gt;&lt;p&gt;I just spent most of a day figuring out this installation error, so I thought I&amp;#39;d summarize for anybody with a similar problem. the problem initially manifests as an empty, white silverlight window appearing. The OnPluginError event handler is called with the following message:&lt;/p&gt;&lt;p&gt;Code: 4002&lt;br /&gt;Type: ManagedRuntimeError&lt;br /&gt;Message: &lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;System.Resources.MissingManifestResourceException:
Could not find any resources appropriate for the specified culture or
the neutral culture.&amp;nbsp; Make sure &amp;quot;&lt;b&gt;SilverlightApplication2.g.resources&lt;/b&gt;&amp;quot;
was correctly embedded or linked into assembly
&amp;quot;SilverlightApplication2&amp;quot; at compile time, or that all the satellite
assemblies required are loadable and fully signed.&lt;br /&gt;&amp;nbsp;&amp;nbsp; at
System.Resources.ResourceManager.SearchManifestForResourceSet(String
cultureName, Dictionary`2 localResourceSets, Boolean tryParents,
Boolean createIfNotExists, StackCrawlMark&amp;amp; stackMark)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at
System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
requestedCulture, Boolean createIfNotExists, Boolean tryParents,
StackCrawlMark&amp;amp; stackMark)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at
System.Resources.ResourceManager.GetObject(String name, CultureInfo
culture, Boolean wrapUnmanagedMemStream, StackCrawlMark&amp;amp; stackMark)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Resources.ResourceManager.GetStream(String name, CultureInfo culture)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Resources.ResourceManager.GetStream(String name)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Windows.ResourceManagerWrapper.GetResourceForType(Type typeResource, Uri xamlUri)&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;The local cause of the error is that the file &lt;b&gt;&lt;span class="bold"&gt;SilverlightApplication2.obj.&lt;/span&gt;&lt;span class="bold"&gt;Debug.SilverlightApplication2.g&lt;/span&gt;&lt;/b&gt;&lt;span class="bold"&gt; was being embedded in the app&amp;#39;s .dll instead.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;After much searching, I&amp;#39;ve discovered that that issue appears to be related to a single file that didn&amp;#39;t get update during one of the upgrades/installs. That file is&lt;b&gt; C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.Targets&lt;/b&gt;. The &amp;quot;bad&amp;quot; one: 187kb modified on 9/24/2007 (3:58pm). The &amp;quot;good&amp;quot; one: 192kb modified on 9/10/2007 (1:25pm).&lt;/p&gt;&lt;p&gt;The
times may be my installation times, not the release times... I honestly
have no idea. That said, the resource generation code is remarkably different
between the two. I&amp;#39;ve had multiple CTP and beta releases on my main
laptop over the last six months, but the &amp;quot;good&amp;quot; version came from a clean install of VS2008 RTM,
.NET 3.5, etc. in a virtual machine.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;The fix: Copy the correct version from a clean install (I&amp;#39;ve can&amp;#39;t attach files here) over the bad version. Switch over to Visual Studio, compile and run a silverlight 2 application, and all is good.&lt;/p&gt;&lt;p&gt;I&amp;#39;ve attached the correct version of the file to a post on my blog at &lt;a href="http://manicprogrammer.com/cs/blogs/willeke/archive/2008/04/15/nasty-upgrade-bug-with-net-3-5.aspx" title="Rediscovering the Obvious"&gt;http://manicprogrammer.com/willeke&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>