This project is read-only.

Error while Registering the CUI Controls Toolkit in the Visual Studio Toolbox

Oct 21, 2009 at 9:01 AM

Hi all,

I had installed MS CUI in a system  with Visual studio 2005,.NET 3.5 SP1,Silverlight   installed.

But I am getting error 'Type library  <dll name>.tlb could not be loaded' while registering the CUI controls toolkit in the visual studio toolbox.

Please help me

thanks

regards

Oct 21, 2009 at 2:25 PM

Hello

I suspect the main problem is you are trying to use Silverlight 3 assemblies with Visual Studio 2005.

Visual Studio 2005 only supports Silverlight 1. The error you are getting occurs when you try to add Silverlight controls on the COM Components tab of the Toolbox.

As stated in the release notes linked from http://www.silverlight.net/getstarted/, the Silverlight 3 Tools are designed for Visual Studio 2008 SP1.

Our GettingStarted document says you can still use some parts of the CUI Control Toolkit with VS2005. If you want to develop ASP or Windows Forms applications, please load the controls from Nhs.Cui.Toolkit.Web or Nhs.Cui.Toolkit.WinForms as appropriate.

If you are interested in exploring the potential of Silverlight and WPF, you have a few options:

1) Download one of the Visual Studio Express Editions http://www.microsoft.com/express/

2) Download a free 3 month trial of Visual Studio 2008 Professional http://www.microsoft.com/visualstudio/en-us/try/default.mspx#visual-studio-2008-professional-edition

3) Download the brand new Visual Studio 2010 Beta 2 http://www.microsoft.com/visualstudio/en-us/try/default.mspx

After installing any of the above, you'll need to return to the Silverlight Getting Started page linked above and install the Silverlight 3 Tools for Visual Studio.

Regards

Ben