Skip to main content

Microsoft Silverlight

Answered Question How to host Silverlight gadget in Vista side barRSS Feed

(0)

Dinesh Chaudhari
Dinesh C...

Member

Member

104 points

98 Posts

How to host Silverlight gadget in Vista side bar

Hello All,

I would like to know how to host silverlight 1.1 project as sidebar  gadget ..

I created a directory in “%userprofile%\AppData\Local\Microsoft\Windows Sidebar\Gadgets”  path with name HelloWorld.gadget .And also created simple project in Silverlight Alpha 1.1 with textblock control with text property  set to "First HelloWorld Gadget " text......

. So i would like to know  which file i should add to “%userprofile%\AppData\Local\Microsoft\Windows Sidebar\Gadgets\HelloWorld.gadget ” directory from my Silverlight project  or is it necessary to add whole silverlight solution in this directory.

    What should i specify in the  source property of .xml (manifest file ).

I waiting for reply.   

 

 

luisabreu
luisabreu

Participant

Participant

1676 points

612 Posts

Answered Question

Re: How to host Silverlight gadget in Vista side bar

hello.

a gadget is always an html page. so, you just need to build your solution and then copy the html+html.js+clientbin folder to your gadget folder. regarding the manifest, just point it to the html page. there are some gotchas regarding silverlight and gadgets. i've written about some here:

http://msmvps.com/blogs/luisabreu/archive/2007/05/19/building-my-first-silverlight-sidebar-gadget.aspx

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities