Symptoms: VS.NET is reporting message:

Code generation for property XXX failed. Error was: XXX is unable to convert XXX to System.ComponentModel.Design.Serialization.InstanceDescriptor

This message is VS.NET error when VS.NET loads either two different versions of same assembly or two same versions from different locations. It can be caused by number of different things. Work through list below to resolve the issue:

  1. Make sure that only single build of DotNetBar is referenced either 1.0 or 2.0 .NET Framework build. Do not reference both DevComponents.DotNetBar.dll and DevComponents.DotNetBar2.dll
  2. Make sure that only single version of component is installed on your machine. For clean install follow these instructions.
  3. Make sure that you do not have CopyLocal property set to true if you have installed DotNetBar into the GAC (Global Assembly Cache). Note that DotNetBar is installed into the GAC by default.