locked
How to install LightSwitchFilter andLightSwitchUtilities Extensions? RRS feed

  • Question

  • How to install LightSwitchFilter andLightSwitchUtilities Extensions?

    Thx.


    Garth Henderson - Vanguard Business Technology

    Friday, March 2, 2012 6:32 PM

Answers

  • What I meant above is befaore upgrade unselect the extension in your V1 project.

    1. Unselect the extension in V1 project before copying.

    2. when you try to open the V1 project on V2 computer, conversion should not fail as extension has been removed.

    3. Now add the new version of extension that you have installed on V2 machine.

    HTH,

    Sudhanshu

    Saturday, March 3, 2012 12:41 AM
  • Hi Garth,

    If you close Visual Studio and double-click on the ExcelImporter.VSIX in the Binaries folder it should install just fine in VS11. It was updated so that people could install the VSIX on a machine with either 2010 or VS11 installed.

    I believe the issue you are seeing is that the project itself won't open until we release the extensibility toolkit (targeting tomorrow). I didn't realize that Sheel had updated this.

    Sorry for the confusion,
    -Beth


    Senior Program Manager, Visual Studio Community http://msdn.com/lightswitch http://msdn.com/vbasic http://msdn.com/vsto http://www.bethmassi.com

    Tuesday, March 6, 2012 11:01 PM
  • Hi Garth,

    Sudhanshu already answered this above. First unselect the extension in V1 project before upgrading. Then intall the new extensions on the Dev11 box. Open the V1 project on the Dev11 box and convert will succeed. Then you can reselect the new V2 extension on the project properties.

    This is only necessary for extensions that were not compatible with V2 (or changed their IDs). Most extensions will upgrade seamlessly. I actually would recommend using the Office Integration Pack which also has an Excel Importer and much more. It upgrades fine. So in most cases all you need to do is install the same extension on your Dev11 box then open the V1 project to get it to conver correctly.

    HTH,

    -Beth


    Senior Program Manager, Visual Studio Community http://msdn.com/lightswitch http://msdn.com/vbasic http://msdn.com/vsto http://www.bethmassi.com

    Wednesday, March 7, 2012 1:38 AM

All replies

  • Hi Garth,

    Extension have to be installed per version of VS - even though you had the extensions in VS2010 you will need to reinstall them in VS11.

    Hope this helps,


    Steve Hoag Microsoft aka the Lights Witch (IEnumerable of Newt)

    Friday, March 2, 2012 6:37 PM
    Moderator
  • Hi Garth,<o:p></o:p>

    If you install VS 2011 Beta on same machine with VS2010 and have extensions installed for VS2010, we upgrade extensions (for VS 2011) as part of project upgrade. Like Steve mentioned above if extensions not installed on the machine, you will have to install them.

    Thanks.<o:p></o:p>


    Friday, March 2, 2012 6:49 PM
  • Hey Guys,

    My question is how to install them?

    The extensions must match with the same name in order to upgrade my project.

    Here's the extensions in V1:

    How do I find the same extensions in V2?

    Please advise.


    Garth Henderson - Vanguard Business Technology

    Friday, March 2, 2012 9:46 PM
  • Hi Garth,

    You'll need to install the new version of the Filter Control for VS11. The VS2010 version is not compatible with OData so Sheel updated and released it yesterday here: http://code.msdn.microsoft.com/Filter-Control-for-eb947bdc

    Install this control and then you will be able to re-select it in the project properties extensions tab.

    HTH,

    -Beth


    Senior Program Manager, Visual Studio Community http://msdn.com/lightswitch http://msdn.com/vbasic http://msdn.com/vsto http://www.bethmassi.com

    Friday, March 2, 2012 10:07 PM
  • Thanks, Beth.

    I saw the update yesterday and installed it. 

    The problem is that the new v2 Extension is a different name than the v1 extenson and the Solution will not upgrade.  The screenshot in my initial post shows what happens as a result of a failed upgrade.

    RE:

       "Install this control and then you will be able to re-select it in the project properties extensions tab."

    To be clear, the V1 Solution will NOT load in V2 so I canned get to the Project Properties tab.

    What should we do in upgrading LS Solutions using the MS Filter Control?


    Garth Henderson - Vanguard Business Technology


    Friday, March 2, 2012 11:11 PM
  • Hi Garth,

    Can you try following steps? (assuming VS 2011 Beta & VS 2010/LightSwitch V1 are on different machines)

    1. Install new version of extension on your VS 2011 Beta machine.

    2. Unselect this extension from extension properties tab in V1 project.

    3. Upgrade the project to VS 2011.

    4. Select the new version  in extension properties tab.

    Thanks,

    Sudhanshu

    Friday, March 2, 2012 11:35 PM
  • Hi Garth,

    Can you try following steps? (assuming VS 2011 Beta & VS 2010/LightSwitch V1 are on different machines)

    1. Install new version of extension on your VS 2011 Beta machine.

    2. Unselect this extension from extension properties tab in V1 project.

    3. Upgrade the project to VS 2011.

    4. Select the new version  in extension properties tab.

    Thanks,

    Sudhanshu

    Yes, V2 is on a separate clean Hyper-V VM (fully patched).

    The V1 project code copied to the V2 computer will not convert and load because of the missing Extensions.  The screen shot in my first post shows the error.  Therefore, I could not get to step #2.

    Please advise.


    Garth Henderson - Vanguard Business Technology

    Saturday, March 3, 2012 12:17 AM
  • What I meant above is befaore upgrade unselect the extension in your V1 project.

    1. Unselect the extension in V1 project before copying.

    2. when you try to open the V1 project on V2 computer, conversion should not fail as extension has been removed.

    3. Now add the new version of extension that you have installed on V2 machine.

    HTH,

    Sudhanshu

    Saturday, March 3, 2012 12:41 AM
  • Hiya Sudhanshu,

    Great advice!   I'll give this a try.

    I created a new project with V2 so that I could confirm that I had the correct Extensions in place.

    The Filter extension was not showing up yet it was installed.   I went to the VS Extension directory and found that I had both the Filter Extension that works with V1 and the Filter extension that works with V2 installed.  I removed the V1 Filter Extension directory and the V2 Filter Extension then showed up in my new V2 project.

    Note:  I have 2 other LS solutions that did not use the Filter or Utilities Extensions and they converted to V2 without any problem.


    Garth Henderson - Vanguard Business Technology

    Saturday, March 3, 2012 5:16 PM
  • Where do I get the LightSwitchUtilities VSIX for V2?

    Garth Henderson - Vanguard Business Technology

    Saturday, March 3, 2012 5:17 PM
  • <bump>  Please, what site do I go to get the LightSwitchUtilities vsix for v2?


    Garth Henderson - Vanguard Business Technology

    Tuesday, March 6, 2012 6:21 PM
  • Hi Garth,

    I'm not sure what these are. Where did you install them from originally? 

    -Beth


    Senior Program Manager, Visual Studio Community http://msdn.com/lightswitch http://msdn.com/vbasic http://msdn.com/vsto http://www.bethmassi.com

    Tuesday, March 6, 2012 6:27 PM
  • Hiya Beth,

    Thanks for all the work on V2.  The OData is huge, the inclusion of LS as part of VS is even bigger.  Wonderful decisions.

    The "Excel Importer for Visual Studio LightSwitch.zip" solution was downloaded on 10/5/2011.

    It contains the LightSwitchUtilities.vsix file that I am using.   It would have made more sense if the VSIX was named something like MSExcelImporter.

    Here's the page for the Excel Importer:

    http://code.msdn.microsoft.com/silverlight/Excel-Importer-for-Visual-61dd4a90 

    However the project has now changed the name of the Excel Importer from LightSwitchUtilities.vsix to ExcelImporter.vsix.

    The Excel Importer project was updated 2/28/2012 - just like the MS filter project.

    However, when I download the Excel project to my V2 computer, it will not convert:

    Please let us know whether the Excel Importer solution is supporting v1 or v2.

    I also need to know how to migrate from the earlier MSLightSwitchUtilities vsix to the changed name in our applications.

    Thx.


    Garth Henderson - Vanguard Business Technology

    Tuesday, March 6, 2012 10:19 PM
  • Hi Garth,

    If you close Visual Studio and double-click on the ExcelImporter.VSIX in the Binaries folder it should install just fine in VS11. It was updated so that people could install the VSIX on a machine with either 2010 or VS11 installed.

    I believe the issue you are seeing is that the project itself won't open until we release the extensibility toolkit (targeting tomorrow). I didn't realize that Sheel had updated this.

    Sorry for the confusion,
    -Beth


    Senior Program Manager, Visual Studio Community http://msdn.com/lightswitch http://msdn.com/vbasic http://msdn.com/vsto http://www.bethmassi.com

    Tuesday, March 6, 2012 11:01 PM
  • Thanks, Beth.

    There are 2 important questions that remain open:

    1) Is the current Excel Importer project for both V1 and V2? 

    2) How do we migrate our apps that are using the earlier version of the LightSwitchUtilities Extension to use the new ExcelImporter extension?


    Garth Henderson - Vanguard Business Technology

    Wednesday, March 7, 2012 1:31 AM
  • Hi Garth,

    Sudhanshu already answered this above. First unselect the extension in V1 project before upgrading. Then intall the new extensions on the Dev11 box. Open the V1 project on the Dev11 box and convert will succeed. Then you can reselect the new V2 extension on the project properties.

    This is only necessary for extensions that were not compatible with V2 (or changed their IDs). Most extensions will upgrade seamlessly. I actually would recommend using the Office Integration Pack which also has an Excel Importer and much more. It upgrades fine. So in most cases all you need to do is install the same extension on your Dev11 box then open the V1 project to get it to conver correctly.

    HTH,

    -Beth


    Senior Program Manager, Visual Studio Community http://msdn.com/lightswitch http://msdn.com/vbasic http://msdn.com/vsto http://www.bethmassi.com

    Wednesday, March 7, 2012 1:38 AM
  • Thanks, Beth.  I will convert my v1 apps to use the Office Integration VISX prior to migration.


    Garth Henderson - Vanguard Business Technology

    Wednesday, March 7, 2012 1:52 AM