Steps to having Visual WebGui SDK Silverlight Extension running correctly:
[updated on February 2009 to reflect changes with the new VWG v6.3.x versions]
1. Install Microsoft Visual Studio 2005 or 2008 (in order to be able to customize
themes and controls' XAML, you will need Visual Studio 2008).
2. On a development machine: Install Microsoft Siverlight 2 Beta 2 Tools from
here if you are using VS 2008, or the Silverlight SDK here if you are using VS 2005. This installation includes:
* Silverlight 2 Beta 2.
* Silverlight 2 SDK Beta 2.
* KB950630 for Visual Studio 2008 RTM or KB955214 for Visual Studio SP1.
* Silverlight Tools Beta 2 for Visual Studio 2008.
3. Install the VWG SDK v6.1.3 (or later) from here.
4. If you are a VWG version earlier than v6.2.4 ,you need to install VWG Silverlight Extension SDK v6.1.3 from here.
If you are using v6.1.3, you are going to need to also install a Packager fix
from here. This fix would allow you to use Themes in VWG Silverlight. This fix
will be integrated into future versions and would not require a separate
installation.
Information:
Gizmox implemented full integration of the Packager into Visual Studio.
Opening the project's property-page, you get new Visual WebGui specific tabs that allow you to see and change values of settings that you oculd otherwise access only through the Web.config file.
The Deployment tab gives you access to the enhanced VWG Silverlight Extension packager.
Troubleshooting:
1. Make sure you have a reference to the
Gizmox.WebGUI.Server.Silverlight.dll assembly in your project
references. If not, add it from the Silverlight SDK installation folder.
2. If you are using a VWG version eralier than v6.3.0, make sure you have a
reference to the Gizmox.WebGUI.Themes.Vista.dll assembly in your
project references. If not, add it from the VWG SDK installation folder.
3. If you want to use the Black theme, you need to:
3.1 Add the Gizmox.WebGUI.Silverlight.Themes.Black.dll using the
packager, by copying the assembly from the right side to the left. If
you get an exception, it means that the DLL is missing from the SDK
folder and you need to get it from here, and place it where you
installed the Silverlight SDK (with the other assemblies).
3.2 Make sure you have the
"<Theme Name="Black"
Assembly="Gizmox.WebGUI.Themes.Vista"..."
XML element in the "<Themes..." section of your Web.config. If it is
not there, you are missing the assembly
Gizmox.WebGUI.Silverlight.Themes.Black.dll. Refer to section
3.1 on how to get it.
You also need to change to the following setting:
"<Themes Selected="Black">", to have the Black theme as default.
Regards,
Ori Cohen
Support Manager, the Visual WebGui team