LightSwitch Extensibility Toolkit for Visual Studio 2012 RC

Yanıt LightSwitch Extensibility Toolkit for Visual Studio 2012 RC

  • 14 Haziran 2012 Perşembe 11:34
     
     

    Hi

    I have installed VS 2012 RC and want to play with LS theme projects.  I have installed the VS 2012 SDK and also the extensibility toolkit for RC 2012.

    I followed the instructions and ran the .vsix file and copied the .target file to the right place for my machine.

    However, when I run VS 2012 I don't get the project templates.  Am I doing something wrong?

    Gus

Tüm Yanıtlar

  • 14 Haziran 2012 Perşembe 11:43
     
     

    I just tried the same with VS 2010 which I also have installed but after a seemingly successful install I still don't get the project templates in VS.

    Any ideas?

  • 19 Haziran 2012 Salı 04:12
    Moderatör
     
     

    Hi

    1 Make sure you have Professional, Premium, or Ultimate edition, it's not support express.

    2 Make sure you download it here: 

    http://visualstudiogallery.msdn.microsoft.com/2381b03b-5c71-4847-a58e-5cfa48d418dc

    I test this on my VS2012 RC ultimate with WIN8 RP that's work fine.

  • 19 Haziran 2012 Salı 07:11
     
     

    I am only using VS Professional. 2010 and 2012 RC.  I can get neither of them to show the LS theme and shell project templates.

    My PC is Win7 pro.

    Gus

  • 19 Haziran 2012 Salı 08:08
    Moderatör
     
     

    Hi

    I haven't have a Win7 pro pc now, and base on your description,

    I suggest you submit this problem to connect

    http://connect.microsoft.com/site1231

    The connect team will try to repro your problem and log a bug for it after they reproduced.

  • 20 Haziran 2012 Çarşamba 01:23
    Moderatör
     
     Önerilen Yanıt
    This may be a problem where your project template cache has not been updated for some reason. Can you try running "devenv.exe /installvstemplates" or "devenv.exe /setup" to force the recreation of the project template cache? It'll take a couple of minutes. You'll have to use task manager to see when the process is done because it runs in the background and does not block the command line.

    Justin Anderson, LightSwitch Development Team

  • 20 Haziran 2012 Çarşamba 12:39
     
     Yanıt

    Hi

    thanks

    I tried your suggestion but after about 5 minutes I got a message saying the process failed. 

    I have raised the issue with MS Connect and am in the process of using collect.exe to get a log file to them

    Gus

    • Yanıt Olarak İşaretleyen Dino HeModerator 21 Haziran 2012 Perşembe 08:54
    •  
  • 21 Haziran 2012 Perşembe 12:26
     
     

    For LS V1, you had to install the VS SDK before installing the extensibility toolkit. I haven't played with V2 extensability yet, so I don't know if there's any similar prerequisite for it.

    Just thought I'd mention it. But I see Justin's been here, so if that was the problem, I'm sure he'd have mentioned it.


    Yann - LightSwitch Central - Click here for FREE Themes, Controls, Types and Commands
     
    If you find a reply helpful, please click "Vote as Helpful", if a reply answers your question, please click "Mark as Answer"
     
    By doing this you'll help people find answers faster.

  • 26 Haziran 2012 Salı 05:58
     
     

    thanks Yann

    I may have installed the VS SDK after the extensibility but I can't be sure.  I have used the Collect tool to create a vslogs.cab which I'm uploading to MS Connect as per MS instructions.

    I am hoping I won't have to uninstall everything and start again. But it seems most likely.

    Gus

  • 26 Haziran 2012 Salı 10:37
     
     

    You're welcome!

    I hope you get the answer you need.


    Yann - LightSwitch Central - Click here for FREE Themes, Controls, Types and Commands
     
    If you find a reply helpful, please click "Vote as Helpful", if a reply answers your question, please click "Mark as Answer"
     
    By doing this you'll help people find answers faster.

  • 26 Haziran 2012 Salı 10:45
     
     

    BTW Yann

    I bought your and Tim's book "VS Lightswitch 2011 Development". 

    Been very useful so far.  Dip into it every day at the moment.

    thanks

    Gus

  • 26 Haziran 2012 Salı 11:14
     
     

    I'm *really* glad that you've found it useful.

    Thanks!


    Yann - LightSwitch Central - Click here for FREE Themes, Controls, Types and Commands
     
    If you find a reply helpful, please click "Vote as Helpful", if a reply answers your question, please click "Mark as Answer"
     
    By doing this you'll help people find answers faster.

  • 26 Haziran 2012 Salı 20:24
    Moderatör
     
     

    But I see Justin's been here, so if that was the problem, I'm sure he'd have mentioned it.


    I didn't think that was the problem because the installation of the toolkit extension should block if the VS SDK is not installed. But if you are seeing that the toolkit can be installed without installing the VS SDK, then please let us know.

    Justin Anderson, LightSwitch Development Team

  • 03 Temmuz 2012 Salı 21:19
     
     Yanıt Kod İçerir

    I'm going to have to plead ignorance on this one and hope u forgive me..

    It turns out that shell and theme projects are not project templates but part of Extension Library projects.

    I could have sworn I saw somewhere that they were project templates. Perhaps in an earlier version? Or am I imagining it?

    From MS Connect:

    I understand the source of your confusion now. There are not theme and shell project templates.

    The Lightswitch Extension Library is the starting point for all of our extension types.

    You can follow the walkthoughs at the links below to go from the Lightswitch Extension Library

    template to a the theme and shell extension that you desire. Creating a theme -- http://msdn.microsoft.com/en-us/library/hh290139.aspx Creating a shell -- http://msdn.microsoft.com/en-us/library/hh290138.aspx

    • Yanıt Olarak İşaretleyen GusBeare 03 Temmuz 2012 Salı 21:44
    •  
  • 03 Temmuz 2012 Salı 21:24
    Moderatör
     
     Yanıt
    Shells and themes are not project templates. You would first create a LightSwitch Extension Library and then add the shell and/or theme item template from the Lspkg project file. Right-click on the Lspkg project file, select New Item..., and then select which item template you want.

    Justin Anderson, LightSwitch Development Team

    • Yanıt Olarak İşaretleyen GusBeare 03 Temmuz 2012 Salı 21:44
    •  
  • 03 Temmuz 2012 Salı 21:44
     
     
    yeah, I get it now, thanks!
  • 04 Temmuz 2012 Çarşamba 02:34
     
     

    Of course Justin is right.

    You won't see the item templates (not project templates) that represent a theme/shell extension unless you're already in a LightSwitch Extension project.

    Even then you'll only see them when you right-click on the LsPkg project & select Add New Item.


    Yann - LightSwitch Central - Click here for FREE Themes, Controls, Types and Commands
     
    If you find a reply helpful, please click "Vote as Helpful", if a reply answers your question, please click "Mark as Answer"
     
    By doing this you'll help people find answers faster.