Updated Prism Template Pack for Visual Studio 2010 RTM
Well it took longer than I thought it would, but I’ve finally managed to update the Prism Template Pack for Visual Studio 2010 RTM!!!
To install the templates, download the template pack from here, rename the file extension from .zip to .vsix, then double click it. You’ll be presented with the license. Once you accept everything will be installed into the Visual Studio Extension Manager. If you already have the RC version installed, it should be updated automatically.
If you used the Release Candidate release of the Template Pack, you’ll notice a few updates in this version:
- Both Visual C# and Visual Basic templates are now provided!!!
- The templates have been updated to target Prism 2.2 (available here), which uses the latest Unity 2.0 and EntLib 5.0 releases.
- Some folks reported problems installing the templates. It seems these problems were due to long path names in the vsix package. I’ve shortened the paths so hopefully this issue is now resolved. (Many thanks to Silverlight Dude for figuring this out!!!)
- I’ve also fixed a few minor bugs, and updated the readme files to cover the use of Unity 2.0 and EntLib 5.0. Apart from that, everything should work as before…
Now With Visual Basic Templates!!!
The biggest new feature of course, is that the Template Pack now provides Visual Basic .NET templates as well as C#. This was one of the reasons why it took me so long to update the templates – my VB was a bit rusty :-)
Please give them a whirl and let me know what you think. If there are no problems, I’ll post them up onto the Visual Studio Gallery.
Comments
Anonymous
June 15, 2010
Is it possible to use this template with Visual Studio Web Dev Express?Anonymous
June 15, 2010
David, Thanks for posting these up. I was able to download them and create a template solution however when I try to run it I'm getting a Microsoft JScript runtime error: Unhandled Error in Silverlight Application Code: 2104 Category: InitializeError Message: Could not download the Silverlight application. Check web server settings Any ideas?Anonymous
June 16, 2010
The comment has been removedAnonymous
June 16, 2010
one quick question David , In the prism 4.0 release there are alot of quickstarts, all of which are in c#, The quickstart template I am really interested in is the BasicMVVM quickstart template which differs from the templates you published in that it also provides a viewmodel base class that implements the INotifyDataErrorInfo interface to provide robust error handling. Is there any chance that you could either convert these quickstarts to vb.net or better yet implement the viewmodel base class into your quickstart silverlight and wpf module for 4.0 ? thanks and even if you can't great work on those templatesAnonymous
June 16, 2010
Matt, if you are having probems check to make sure the web application the template is hosted in has refrences to all the modules not just the shells. i.e there should be a xap file in the client bin for all modules that you have as part of the composite application. You can resolve this by right clicking on the properties for the web application then checking the Silverlight applications tabAnonymous
June 16, 2010
@Ola Lawal you rock!!! It worked.Anonymous
June 17, 2010
glad i could help Matt !Anonymous
July 15, 2010
For me checking all references in Web->Project Dependencies did not work out. In my case I also needed to go to DblClick the Web.Properties->SilverLight Applications->Then I added Shell, Module1, Module2.Anonymous
July 16, 2010
The comment has been removedAnonymous
July 19, 2010
In Prism WPF 4.0 QuickStart Solution, the Shell shouldn’t have reference to Modules.