9. December 2008 14:44
The below post was a big senior moment for me because it took me several hours to figure out what was so obliviously wrong. This post is for anybody else that has one and for my next one.
Just recently I installed Visual Studio 2008 Team Suite on the same VPC that I had Visual Studio 2008 and Visual Studio 2005 installed on. I was really excited about getting to use it until I noticed that the VSTO for Office 2007 wasn't displaying any templates.
This was really bad for me because I've been using the SharePoint Workflow template for my current project and I need to create 2 more workflows this week. I searched the web for a solution and I couldn't find anybody else having the same problem or a solution. I kept troubleshooting the problem but was striking out big time. After a couple days of trying to figure it out casually I decided to dig in for a final stand and figure out what was wrong. I started out uninstalling VS 2005 and VS 2008 Professional and rebooted but nothing different. Then I installed SP1 for 3.5 and VS 2008 but when I rebooted nothing different. Then I uninstalled MOSS SDK, WSS SDK and SharePoint Extensions and reinstalled with the latest bits and rebooted but still nothing different. I was starting to get a little desperate at this point and I started looking at all the settings in VS and on the New Project pop-up window then I noticed that the default .NET Framework was 3.0 and not 3.5. I changed it to 3.5 and all my templates magically appeared. It would have been really nice if they had a dummy message appear saying "hey dummy wrong framework use 3.5 to see these". Once I switched the .NET Framework to 3.5 everything appeared magically.
To be honest I'm glad that it wasn't a major problem and I don't have these moments that often. I hope everybody is having a better week than me.