What do you need to start working with Script#:
1. download the latest binaries from Script# project page
2. install it
3. create new Visual C# -> Script# -> Sidebar Gadget project in Visual Studio
And use this script:
<Project DefaultTargets="Deploy" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <DeploymentFolder>YourVistaGadgetFolder.gadget</DeploymentFolder> </PropertyGroup> <ItemGroup> <DeploymentSourceFiles Include="LeasingCalculatorContent***.*" /> </ItemGroup> <Target Name="Deploy"> <RemoveDir Directories="$(DeploymentFolder)" ContinueOnError="false"></RemoveDir> <Copy SourceFiles="@(DeploymentSourceFiles)" DestinationFiles="@(DeploymentSourceFiles-> '$(DeploymentFolder)%(RecursiveDir)%(Filename)%(Extension)')"/> </Target> </Project>
So you are equipped with fully functional development platform for Vista Sidebar Gadgets.