Monday, October 26, 2009

Error trying to add Web Reference to SmartDevice Project in VS 2008

In a development of SmartDevice project in Visual Studio 2008, when add or update a Web Reference an error message like the following is showed:

The custom tool 'MSDiscoCodeGenerator' failed. Could not retrieve the current project.

To solve this issue, just go to the command prompt in the Visual Studio 2008 directory (Start -> Programs-> Microsoft Visual Studio 2008 -> Visual Studio Tools -> Visual Studio 2008 Command Prompt )

From the command line execute the following command:
  • devenv /resetskippkgs
With that, a new instance of VS 2008 will be started and the update or add of the Web Reference will work fine.

No comments: