Showing posts with label Visual Studio. Show all posts
Showing posts with label Visual Studio. Show all posts

Friday, March 7, 2008

Error Adding WebReference in VS2005

Today I was trying to add a Web Reference to an existing project in Visual Studio 2005 and got the following error message:

The web services enumeration components are not available. You need to reinstall Visual Studio to add web references to your application.

I tried several solutions found online (except the one suggesting to uninstall and reinstall Visual Studio) but what finally did the trick was a simple command line:
Open the Visual Studio 2005 Command Prompt and type the following command:

devenv /resetskippkgs

Tuesday, December 18, 2007

Item Templates not showing up in VS2005

I recently converted the WebPart template provided by Microsoft from C# to VB (Microsoft didn't release a VB version and we are, unfortunately, standardized on VB).
After converting the code and placing it in the appropriate folder (C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\VisualBasic\SharePoint\), the template was still not showing when creating a new project. This was because the templates cache had to be refreshed. I was able to solve this thanks to a post by Eric Hammersley (Missing an item template in Visual Studio 2005? Try this...)

The secret was just to open a VisualStudio Command prompt and run the command

devenv /installvstemplates

Friday, November 2, 2007

Optimizing VS2005 speed

I found 2 interesting blog posts about optimizing the speed of VS2005 both at startup and during regular usage:

.NET Tip of The Day: Optimize the launch of the Visual Studio 2005

.NET Tip of The Day: Speed up Visual Studio 2005