7

How should one quickly test a Windows Gadget during development? Creating the archive, installing it and adding it to the desktop every time is extremely tedious...

static_rtti
  • 53,760
  • 47
  • 136
  • 192
  • may be, write a script that automatically archive the windows gadget files, install, and add it to your desktop? – YOU Mar 17 '11 at 11:33
  • This would be the last resort, but you'd think Microsoft would have thought of the poor gadget developers? – static_rtti Mar 17 '11 at 18:16

2 Answers2

5

This application might speed up the process:

http://www.codeproject.com/KB/gadgets/GadgetPacker.aspx

Whilst developing a desktop gadget for Windows 7, it became apparent how much of a pain it was going through the build process. I decided it would be a lot easier to write a simple automation tool, to take care of the necessary steps. This would speed up the overall developing and testing phase.


This article might also be helpfull

http://www.howtogeek.com/howto/windows-vista/how-to-debug-a-windows-vista-sidebar-gadget-with-visual-studio/

Sebastian Dusza
  • 2,470
  • 2
  • 30
  • 54
  • Neat tool, thanks for your answer! I still find it hard to believe that Microsoft proposes absolutely nothing to help developers... Not to mention that the API is terrible and doesn't work well. – static_rtti Mar 17 '11 at 21:34
2

After you've installed it once, you can actually manipulate the installed version's source code files directly. It should be installed at

C:\Users\ YourUserName \AppData\Local\Microsoft\Windows Sidebar\Gadgets\ GadgetName.gadget \

Then, each time you make changes to the source code found there you just need to add a new instance of the gadget to your desktop. I just keep the Gadget Gallery open and drag a new instance after I've saved a new change.

Silveri
  • 4,836
  • 3
  • 35
  • 44