If you get the an error when enabeling out fo browser mode in Silverlight 3, this is because you’re enabeling it in the wrong way. Don’t use the AppManifest.xml but the project properties and check the “Enable running application out of the browser”. This will generate a OutOfBrowserSettings.xml file, like:

<OutOfBrowserSettings ShortName="TTS Toggle" EnableGPUAcceleration="False" ShowInstallMenuItem="True">
  <OutOfBrowserSettings.Blurb>Download TTS Toggle</OutOfBrowserSettings.Blurb>
  <OutOfBrowserSettings.WindowSettings>
    <WindowSettings Title="TTS Toggle" />
  </OutOfBrowserSettings.WindowSettings>
  <OutOfBrowserSettings.Icons />
</OutOfBrowserSettings>

 

image

 

Error: Unhandled Error in Silverlight Application
Code: 2007   
Category: ParserError      
Message: Unknown element: OutOfBrowserSettings.WindowsSettings.    
File:     
Line: 12    
Position: 44    

See: http://geekswithblogs.net/dlussier/archive/2009/09/17/134864.aspx

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.