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

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: