TroubleShoot "NoItemMatched" Error in VisualStudio 2013RC
When you are using ComponentOne controls for LightSwitch Desktop in Visual Studio 2013 Ultimate RC, then you may face the following error on running the application: "Could not resolve reference property 'ControlPropertySource.Property’ with reference string 'C1.LightSwitch.FlexGrid:C1FlexGrid/Properties[C1LicenseProperty]' . Reason: 'NoItemMatched’. This error occurs because Visual Studio 2013 RC broke third-party extensions as discussed in the MSDN post. The GOOD news is that, you can resolve this error by making some minor changes in the Properties\Config.xml present in the Desktop Client project folder. You need to add the following two lines in ExtensionAssemblies tag for using C1Flexgrid extension:
<`
ExtensionAssembly>C1.LightSwitch.FlexGrid.Common, Version=2.0.20132.43, Culture=neutral, PublicKeyToken=null</
ExtensionAssembly>`
<`
ExtensionAssembly>C1.LightSwitch.FlexGrid.Client, Version=2.0.20132.43, Culture=neutral, PublicKeyToken=null</
ExtensionAssembly>`
Similarly, you can add the entries for other ComponentOne screens as well. For instance: for OLAP extensions, you need to add the below lines of code :
<`
ExtensionAssembly>C1.LightSwitch.Olap.Common, Version=2.0.20132.43, Culture=neutral, PublicKeyToken=null</
ExtensionAssembly>`
<`
ExtensionAssembly>C1.LightSwitch.Olap.Client, Version=2.0.20132.43, Culture=neutral, PublicKeyToken=null</
ExtensionAssembly>`