Tags: | Categories: Blog Posted by admin on 8/26/2009 11:28 AM | Comments (1)

Prior the release of Silverlight 3, the way to enable Silverlight to run out of the browser meant to edit the AppManifest.xml file and add this XML.   

 <Deployment.ApplicationIdentity>
    <ApplicationIdentity
        ShortName="Out of Browser Application"
        Title="This app is out of the browser!">
      <ApplicationIdentity.Blurb>
        Sample Out of the Browser App
      </ApplicationIdentity.Blurb>
    </ApplicationIdentity>
  </Deployment.ApplicationIdentity>

Now that Silverlight 3 its being released, is much easier than that.

Go to the Silverlight properties then the Silverlight tab, there is a check box called Enable running application out of the browser, you can enable that and a new button called Out-of-Browser Settings will appear to set how you want the application to look.

Capture

A new file will show up under properties called OutOfBrowserSettings.xml

Capture2

 

The XML generated will look like that:

<OutOfBrowserSettings ShortName="Application" EnableGPUAcceleration="True" ShowInstallMenuItem="True">
    <OutOfBrowserSettings.Blurb> Application on your desktop; at home, at work or on the go.</OutOfBrowserSettings.Blurb>
    <OutOfBrowserSettings.WindowSettings>
      <WindowSettings Title=" Application" />
    </OutOfBrowserSettings.WindowSettings>
    <OutOfBrowserSettings.Icons />
  </OutOfBrowserSettings>

You can change the values on the file or use the UI to do so.

Happy coding.

Cheers

Al

Follow me in twitter | bookmark me | Subscribe to my feed | Add stats to your blog

Comments

on 8/31/2009 2:09 AM

Much easier now, isn't it Smile


Comments are closed