Wednesday, January 26, 2011

Play Lego Poptropica Games

Visual Studio Tips and Tricks Course

working with Visual Studio, you may come across an error like this:

Failed to update Service Reference XX. Error: The components required to listed web references are not installed on this computer. Please re-install Visual Studio.

how to fix this problem without having to reinstall everything (lost half a day)?

is to help the old Command Prompt (DOS).
The first thing to do is to find the executable for Visual Studio (devenv.exe) and run it from the command line with /? ( devenv /? ). By doing so you receive outputs a list of parameters that can be used.

  1. Build : Builds the solution or project with the specified solution configuration. For example "Debug". If multiple platforms are possible, the configuration name must be enclosed in quotes and contain platform name. For example: "Debug
  2. LCID
  3. : Sets the default language in the IDE for the UI.
  4. Log
  5. : Logs IDE activity to the specified file for troubleshooting.
  6. NoVSIP
  7. : Disables the VSIP developer's license key for VSIP testing.
  8. Out
  9. : Appends the build log to a specified file.
  10. Project
  11. : Specifies the project to build, clean, or deploy. Must be used with Build ,
  12. Rebuild
  13. , Clean , or
  14. Deploy
  15. .
  16. ProjectConfig
  17. : Overrides the project configuration specified in the solution configuration. For example "Debug". If multiple platforms are possible, the configuration name must be enclosed in quotes and contain platform name. For example: "Debug solution then closes the IDE. /
  18. SafeMode:
  19. Launches the IDE in safe mode loading minimal windows. / Upgrade: Upgrades the project or the solution and all projects in it. A backup of These files will be created as appropriate. parameters used to do in order to restore the optimal configuration are just resetsettings or ResetSkipPkgs
  20. . This allows you to reset the settings del'IDE. avoiding a repetition of the error.
  21. In conclusion, just run from the command line
  22. devenv /
  23. ResetSkipPkgs
  24. or
  25. devenv / ResetSkipPkgs
  26. and the problem is solved.