Log in to like this post! How to Upgrade LightSwitch Applications from NetAdvantage Vol.11.1 to Vol.11.2 [Infragistics] Mihail Mateev / Sunday, November 6, 2011 NetAdvantage for LightSwitch Vol.11.2 is coming next days. This is an innovative product with a new Infragistics Grid control for LightSwitch and improvements for existing controls. This blog is about how to upgrade existing Visual Studio LightSwitch projects with NetAdvantage Vol.11.1 extensions to new 11.2 release components. Procedure for upgrade To be possible to upgrade your LightSwitch project you should follow these steps: 1. Install correctly NetAdvantage for LightSwitch 11.2 Uninstall NetAdvantage for LightSwitch 11.1 Install NetAdvantage for LightSwitch 11.2 2. Upgrade to release 11.2 the existing LightSwitch projects with NetAdvantage for LightSwitch 11.1 Create a new “dummy” LightSwitch project where to include new Infragistics LightSwitch Extensions from 11.2 Release. Upgrade ExtensionEsseblies section in all Config.xml files in “ClienGenerated” project from existing LightSwitch solution with the same section from the new “dummy” project. Delete all existing “obj” folders in “Client”, “Common” and “Server” project from existing LightSwitch solution 3. Run the updated LightSwitch application. Install correctly NetAdvantage for LightSwitch 11.2 More information how to do that you could find here: Upgrade to release 11.2 the existing LightSwitch projects with NetAdvantage for LightSwitch 11.1 Try to run the existing LightSwitch applications, created with NetAdvantage for LightSwitch 11.1. Open the existing project Ensure that you still have included Infragistics LightSwitch Extensions. Run the excising project. You will receive this error message. Create a new “dummy” LightSwitch project where to include new Infragistics LightSwitch Extensions from 11.2 Release. Create a new LightSwitch project. Add to this project Infragistics LightSwitch Extensions (Visual Studio LightSwitch will use the latest (Release 11.2) extensions). Open the LightSwitch solution folder with Windows Explorer and open “ClientGenerated” project Upgrade ExtensionEsseblies section in all Config.xml files in “ClienGenerated” project from existing LightSwitch solution with the same section from the new “dummy” project. Open Config.xml files in “ClientGenerated” and “ClientGenerated\Bin\Debug” folders. Change the content of “ExtensionAssemblies” section in these files with the content of the same section from Config.xml file from a “dummy” LightSwitch project. “ExtensionAssemblies” section with 11.1 Release assemblies 1: <ExtensionAssemblies> 2: <ExtensionAssembly>Microsoft.LightSwitch.Extensions.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35</ExtensionAssembly> 3: <ExtensionAssembly>Infragistics.LightSwitch.Extensions.Client.Design, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 4: <ExtensionAssembly>Infragistics.LightSwitch.Extensions.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 5: <ExtensionAssembly>Infragistics.LightSwitch.Extensions.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 6: <ExtensionAssembly>InfragisticsSL4.Controls.Charts.XamGauge.v11.1, Version=11.1.20111.1000, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 7: <ExtensionAssembly>InfragisticsSL4.Controls.Editors.v11.1, Version=11.1.20111.1000, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 8: <ExtensionAssembly>InfragisticsSL4.Controls.Charts.XamDataChart.v11.1, Version=11.1.20111.1000, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 9: <ExtensionAssembly>InfragisticsSL4.Controls.Maps.XamMap.v11.1, Version=11.1.20111.1000, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 10: <ExtensionAssembly>InfragisticsSL4.Controls.Editors.XamSlider.v11.1, Version=11.1.20111.1000, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 11: <ExtensionAssembly>InfragisticsSL4.Controls.Menus.XamMenu.v11.1, Version=11.1.20111.1000, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 12: <ExtensionAssembly>InfragisticsSL4.Controls.Menus.XamOutlookBar.v11.1, Version=11.1.20111.1000, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 13: <ExtensionAssembly>InfragisticsSL4.Controls.Lists.XamTileView.v11.1, Version=11.1.20111.1000, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 14: <ExtensionAssembly>InfragisticsSL4.v11.1, Version=11.1.20111.1000, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 15: <ExtensionAssembly>InfragisticsSL4.DataVisualization.v11.1, Version=11.1.20111.1000, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 16: <ExtensionAssembly>Microsoft.LightSwitch.SdkProxy, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35</ExtensionAssembly> 17: <ExtensionAssembly>InfragisticsSL4.Controls.Interactions.XamDialogWindow.v11.1, Version=11.1.20111.1000, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 18: <ExtensionAssembly>System.Xml.Linq, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35</ExtensionAssembly> 19: <ExtensionAssembly>System.ComponentModel.Composition.Initialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35</ExtensionAssembly> 20: <ExtensionAssembly>Microsoft.LightSwitch.Extensions.Design.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</ExtensionAssembly></ExtensionAssemblies> “ExtensionAssemblies” section with new 11.2 Release assemblies 1: <ExtensionAssemblies> 2: <ExtensionAssembly>Microsoft.LightSwitch.Extensions.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35</ExtensionAssembly> 3: <ExtensionAssembly>Infragistics.LightSwitch.Extensions.Client.Design, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 4: <ExtensionAssembly>Infragistics.LightSwitch.Extensions.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 5: <ExtensionAssembly>Infragistics.LightSwitch.Extensions.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 6: <ExtensionAssembly>InfragisticsSL4.Controls.Charts.XamDataChart.v11.2, Version=11.2.20112.1008, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 7: <ExtensionAssembly>InfragisticsSL4.Controls.Charts.XamGauge.v11.2, Version=11.2.20112.1008, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 8: <ExtensionAssembly>InfragisticsSL4.Controls.Grids.XamGrid.v11.2, Version=11.2.20112.1008, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 9: <ExtensionAssembly>InfragisticsSL4.Controls.Editors.v11.2, Version=11.2.20112.1008, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 10: <ExtensionAssembly>InfragisticsSL4.Controls.Maps.XamMap.v11.2, Version=11.2.20112.1008, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 11: <ExtensionAssembly>InfragisticsSL4.Controls.Editors.XamSlider.v11.2, Version=11.2.20112.1008, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 12: <ExtensionAssembly>InfragisticsSL4.Controls.Menus.XamMenu.v11.2, Version=11.2.20112.1008, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 13: <ExtensionAssembly>InfragisticsSL4.Controls.Menus.XamOutlookBar.v11.2, Version=11.2.20112.1008, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 14: <ExtensionAssembly>InfragisticsSL4.Controls.Lists.XamTileView.v11.2, Version=11.2.20112.1008, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 15: <ExtensionAssembly>InfragisticsSL4.v11.2, Version=11.2.20112.1008, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 16: <ExtensionAssembly>InfragisticsSL4.DataVisualization.v11.2, Version=11.2.20112.1008, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 17: <ExtensionAssembly>Microsoft.LightSwitch.SdkProxy, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35</ExtensionAssembly> 18: <ExtensionAssembly>InfragisticsSL4.Controls.Interactions.XamDialogWindow.v11.2, Version=11.2.20112.1008, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB</ExtensionAssembly> 19: <ExtensionAssembly>System.ComponentModel.Composition.Initialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35</ExtensionAssembly> 20: </ExtensionAssemblies> Delete all existing “obj” folders in “Client”, “Common” and “Server” project from existing LightSwitch solution Delete existing folders, shown below. Run the updated LightSwitch application. Rebuild and run the updated LightSwitch application.Enjoy the fully working updated application . The exciting new NetAdvantage for LightSwitch Vol.11.2 will let you have fun when create LightSwitch applications. You can try it a few days. Follow news from Infragistics in http://infragistics.com/ and twitter: @infragistics for more information about new Infragistics products.