Why are my Windows Phone 7 Item Templates Missing?

January 27, 2011

I recently got a new laptop and spent a significant amount of time installing all of the software I use. At the end of the process I discovered all of my Windows Phone 7 item templates were missing from Visual Studio 2010. The files were present in the proper location on my disk, but did not appear when choosing “Add New Item” in Visual Studio. This is not a particularly major problem for me since I only tinker with Windows Phone development occasionally in the evening and on weekends. In any case, it was an annoying problem and I wanted it fixed. I had the same problem once before with my previous laptop. My memory is admittedly a bit hazy regarding the previous episode, but I seem to recall correcting it by uninstalling anything remotely related to Visual Studio, Silverlight, or Windows Phone development and re-installing all of them from scratch. That did not fix the problem on my new laptop, so I decided to apply a more brute force scientific method to the problem.

I still had my old laptop, so I did a clean install of Windows 7 64-bit Enterprise followed immediately by Visual Studio and the Windows Phone developer tools. I then proceeded to install all of my other software checking for the presence of WP7 item templates after each installation. This took a while, but I will jump to the end of the story and say that, in my case, the problem was with my Devart dotConnect for Oracle installation. There is an option near the end of it’s setup program to “Install menu item and toolbox components into Visual Studio”.

Devart

I checked this box and that was what ultimately led to the disappearance of my WP7 item templates. I uninstalled the Devart product and my item templates reappeared. I then reinstalled the product but did not select the previously mentioned checkbox. The installation completed successfully and I still had my templates.

I uninstalled and re-installed several more times to be sure I had isolated the problem. To be fair to Devart and Microsoft, I don’t know where the bug resides. I might have the same problem in the future after installing some other product that attempts to modify the Visual Studio toolbox. I can only report how I resolved this issue on my machine with the specific software I had installed. I thought it was worth reporting here since I found almost no reports of this problem in my extensive searching. Maybe this will save someone else a few minutes (or hours) of frustration later.

2 Comments

Ingo RammerFebruary 17th, 2011 at 10:38 am

Thanks! You’ve just saved me a *lot* of time … I’ve tried re-installing various components and was just about to remove VS2010 which would have made it necessary to re-install loads of addons, CTPs, toolkits, etc.

-Ingo

Devart teamFebruary 24th, 2011 at 12:33 pm

We performed changes in the dotConnect for Oracle installation that should fix the issue with the Windows Phone Developer Tools templates. This fix is available in the latest 6.10.111 version of dotConnect for Oracle, which can be downloaded from
http://www.devart.com/dotconnect/oracle/download.html
(the trial version) or from Registered Users’ Area (for users with active subscription only):
http://secure.devart.com/

For the detailed information about the fixes and improvements available in dotConnect for Oracle 6.10.111, please refer to
http://www.devart.com/forums/viewtopic.php?t=20337

Leave a comment

Your comment