We need you (crowd-testing MVVM Light new setup)

.NET, MVVM, Phone, Silverlight, Technical stuff, Windows 8, Windows Phone, Work, WPF
See comments

11-28-2013 4-13-37 PM

You may have noticed that I was quite late in releasing new MSIs recently for the new versions of MVVM Light. The explanation is simple: I hate, with a passion, to make (and especially test) MSIs.

A bit of history: In the early days, the MVVM Light installation process was a bit cumbersome and manual. I asked for help and my friend Morten offered to make an MSI (with Wix) to install MVVM Light. The main reason why we chose MSI over VSIX is because of the (supposed) restrictions of VSIX installers, notably for code snippets.

I will come back on this a bit later with a larger blog post explaining the new setup. In the moment, I need some testers to try installing the new version (4.2.30) on their system and give me feedback. This is a brand new setup that does not involve any MSI but only VSIX files. Now, every documentation I could find (and every Microsoft people I asked except one) told me that code snippets cannot be installed with VSIX. Turns out it was wrong, and in fact you can (kudos to Mads for pointing me in the right direction by the way!)

How can I help?

Thanks for asking! You can help by doing the following:

  • (if applicable) Uninstall any version of MVVM Light you may have on your system.
  • Make sure that you have the latest version of Nuget (in Visual Studio, check Tools, Extensions and Updates, Updates and update Nuget if available).
  • Download the following VSIX files:
  • Try to install the VSIX you downloaded by double clicking it.

A successful install will allow you to do the following:

  • Open Visual Studio.
  • Check that MVVM Light is available under Tools, Extensions and Updates in the list of installed extensions. 
  • Select File, New Project.
  • See all the MVVM Light templates installed:
    • For VS12: Silverlight 4 and 5; WPF3.5, 4 and 4.5; Windows Phone 7.1 and 8; Windows 8.0
    • For VS13: Silverlight 5; WPF3.5, 4 and 4.5; Windows Phone 8; Windows 8.0
  • Create a new application for any of these templates.
  • Be able to build without errors.
  • Place the cursor anywhere in the code and type “mvvm”. You should see the MVVM Light code snippets in Intellisense (only if you don’t use the Resharper Intellisense!!) such as mvvminpc, mvvminpcset, mvvmrelay and more.

I’d love some feedback. If things look good, I will still add the following:

  • Windows 8.1 project template.
  • Support for all VS express versions.
  • Support for Visual Studio 10.

Let me know, preferably either here using the feedback form below or on Twitter.

Thanks for your help!
Laurent

Previous entry | Next blog entry

Responses to “We need you (crowd-testing MVVM Light new setup)”

  1. Larry McCoy Says:

    Laurent,

    Looks great.
    I tested the install on both VS2012 SP3 and VS2013 (both Premium), and the item/project templates and Snippets all worked great.
    Thanks for the great tool!
    ~Larry

  2. lbugnion Says:

    Awesome, thanks for your feedback!

  3. PHenry Says:

    Install worked like a charm, and it looks like the right templates are installed correctly. Was FAST too! I’m going through one of your vids now and MVVM is the next chapter, so very timely! I’ll exercise your other pieces later. Thanks for this opportunity.

  4. PHenry Says:

    PS I’m using VS2013 ultimate.

  5. Michael Giger Says:

    Hi Laurent

    It worked without any problems (VS2013 Premium)!

    I have 2 questions/comments:
    – Order to make the code clearer, I’ve surrounded the CodeSnippets with a Region. The PropertyName is also used as the name of the Region. Would you accept this extension for the Setup? I could send you the customized CodeSnippets.

    – A Solution template with Win 8, WP8 and PCL Project would be great!

    Thanks for this great stuff! I can’t develop without MVVM Light…

    Michael

  6. Dave Timmins Says:

    Hi Laurent,

    tried it on VS 2012 premium and it worked as advertised. Good stuff.

    Cheers,
    Dave

  7. lbugnion Says:

    Hey Michael,

    Yes the question of the regions is a controversial one. There are quite a few articles of passionately pros and passionately cons :) I decided against regions because I tend to agree with the cons. But I understand that some people like them. I am not quite sure how to accommodate everyone. I thought of adding a version of the snippets with regions but that would clutter the intellisense window quite a lot. Or I could do a blog post explaining how to edit the snippets yourself maybe. I will think about it.

    About the other idea, I also had the idea to create a template with a shared app structure, but unfortunately you cannot do that in Visual Studio, there is only a project template, and no solution template. I could add 2 project templates using PCL, and they would have to be created together but then we would lose the beauty of the shared code and also there would be more steps involved. I am not quite sure how to solve that problem.

    Cheers
    Laurent

  8. Michael Giger Says:

    Thanks for your reply.

    No Problem! I use the regions and have edited the snippets myself…

    I’ve not tried it, maybe this will help you:
    Create Multi-Project Templates (http://msdn.microsoft.com/en-us/library/ms185308(v=vs.120).aspx)

  9. lbugnion Says:

    Well I didn’t know about this feature. Very interesting. I will check it out!

  10. dashewgf Says:

    Installation works good for me on VS2013 Ultimate. However the item template for MvvmView (Win8) seems to be out of date. thx for the awesome work. :)

  11. lbugnion Says:

    Happy to hear! What do you mean with out of date?

  12. dashewgf Says:

    it does not compile out of box.

  13. lbugnion Says:

    Hi,

    What error are you seeing?

    Thanks
    Laurent

  14. leon Says:

    After I create a MvvmLight(Win81) project, I want add a new view , but there is only MvvmView(Win8), there is no MvvmView(Win81), why?

  15. leon Says:

    I use vs2013 Ultimate

  16. lbugnion Says:

    Hi,

    Please use a normal Win8.1 view for now and add the databinding manually. Sorry for the inconvenience. I will update the installation ASAP.

    Laurent

  17. leon Says:

    Expect

Comments for We need you (crowd-testing MVVM Light new setup)