Silverlight for Windows Embedded Hello World application

Windows Embedded Compact 7 will soon be out. As part of the new or updated features, Silverlight for Windows Embedded will get a great tools update.

Let me rewind a little bit for those who are not up to date on this technology: Silverlight for Windows Embedded is a XAML runtime for Windows Embedded CE/Compact that is programmed using native code (C++). It has been designed to build rich user interfaces for specialized devices.

Here is a short video that demonstrate the new tools and explains how a designer and a developer can work together at delivering a great Silverlight-based interactive user interface for devices.

Comments (18)

  1. Jennifer Northern says:

    WIll this help with video streaming and confrence calls? I have a problem viewing videos,podcast another media on the  web. The sequence of reception breaks up constantly. What can I do or Microsoft do to correct these issues? Where would I go to look for  a cure to this error in media?

  2. @Jennifer:

    Correct me if I get your question wrong, but it seems to me you are confusing what Silverlight for Windwos Embedded is.

    This technology is an out of the browser technology for the Windows Embedded Compact/CE OS that is meant to power user interfaces for next generation devices. It is based on the same runtime as Silverlight but does not allow for Silverlight Web sites viewing and rendering. Silverlight for Windows Embedded is not replacing or adding to Silverlight for browser or Windows desktop.

    We are talking about 2 very disctinct world here.


  3. Christian says:

    Hi Olivier

    I tried to follow the video but I can´t find the Silverlight For Windows Embedded project  template in the Expression Blend 3. I have also installed Windows 7 with SP1, Visual Studio 2008 + SP1, Expression Blend 3.

    Am I missing something ?



  4. @Christian

    The Templates don't install automatically as part of the SIlverlight for Windows Embedded Tools install. This is a known issue that will be fixed in future release.

    If you have a DVD, you will find an msi installer in the WEST folder on the DVD (eval or retail). If you have installed the eval version using the web installer, then you need to download the templates installer from ms donwload here:…/WindowsEmbeddedSilverlightToolsBlendTemplates.msi


  5. Christian says:


    It worked !!! Thank you very much!!


  6. Unni says:

    Thanks a lot Olivier.. It worked..

    I'm going to try to animate some clock type control to show analog data from digital input.

  7. @Unni

    glad it worked. Do not hesitate to post back a link to a video of your app 😉



  8. Miroslav says:

    Hi Olivier,

    I have the same problem as Christian, so i tried to install the template (I have the trial version). During instalation I receive this error message: "Source file not found:". The path changes, based the place where i install it. Do you know, what is wrong?



  9. @Miroslav

    Are you trying to install the msi that I provided a link to? If yes, then I figure you might be facing one of the following issues:

    – your download is corrupt: try to download the msi again.

    – You are facing some authorization issue when the installer tries to unpack the packages. Try launching the msi from a command prompt in admin mode.


  10. Miroslav says:

    Hello Olivier,

    I have downloaded it several times and I have run it as administrator, but it's still the same.

    Than I tried to follow your example with normal silverlight 3 application, bud when I try to compile it in VS a got this error: LINK : fatal error LNK1181: cannot open input file 'xamlruntime.lib'.

    May be it is related to the previous problem. Any idea what is wrong?



  11. Miroslav says:

    Ok, problem with xamlRuntime is resolved (add silverlight runtime support to my OS design).

    The Blend template problem remain.

  12. @Miroslav

    Just to be sure, let's recap what is needed to get everything setup (both correctly:

    – Visual Studio 2008 SP1

    – Expression Blend 3

    – Windows Embedded Silverlight tools

    – WEST Blend templates

    Can you please confirm you have all these installed in this order?

    – Olivier

  13. Miroslav says:

    My installation order:

    – Visual Studio 2008 SP1

    – Expression Blend 3

    – Embedded Compact 7 (Windows Embedded Silverlight tools is part of it)

    Than I try to install the template, that you gave the link to.

    But it seems to work with normal silverlight 3 application. Can you tell me what is the difference between the embedded one?

    Thank you.


  14. Miroslav says:

    Hello Olivier,

    it seems that I haven't got the Embedded Silverlight tools/SDK installed. They are in the list when I install Windows Embedded Compact 7 but i don't see it in my computer.

    Furthermore I don't see the embedded silverlight SDK when i am creating Silverlight for windows embedded application and choosing the SDK, as i see it you video.

    I can't find it and download it (Embedded Silverlight tools/SDK 3). Do you know where is the problem.



  15. Sandu says:

    Olivier, I think it's a nice introduction, but more presentations are needed. For example, is it possible to have two screens of a HMI and navigate from one screen to another? I would like to see this kind of example.

    Another example: how can I bind a collection of data (a list of elements) can be loaded in a GridView or DataGrid?

  16. @Sandu

    The easiest approach would be to create a user control for each of the UI screens. Then, in the main XAML screen (MainPage.xaml by default), you dynamically load the screens as they are needed. It is pretty easy to create storyboards or visual states to allow for smooth animations between the screens.

    – Olivier

  17. Olivier,

    Also is there anyway to import a Window Embedded Compact 7 subproject into the app.xaml and with VS2008?



  18. @Andrew

    If you are asking whether or not you can import a C++ or C# subproject into Blend, then the answer is no.

    Note that your Blend project can be opened in Visual Studio 2008 as a project. You can also import your Blend project as a sub-project within a Platform Builder (OS image) project in VS2008.

    – Olivier

Skip to main content