Custom tool error: Failed to generate code for the service reference 2


Quick Tip

On Visual Studio if you suddenly get an error when pressing “Update Service References” :

 

Custom tool error: Failed to generate code for the service reference ‘your service

Please check other error and warning messages for details

 

Do the following:

  1. Close all instances of Visual Studio
  2. Open the command window and type:<visual studio ide path>\devenv.exe /resetskippkgs

    Example:

    "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" /resetskippkgs

 

VoilĂ ! Your update references should work now!


Leave a comment

Your email address will not be published. Required fields are marked *

2 thoughts on “Custom tool error: Failed to generate code for the service reference