Visual Studio Switches

Visual Studio offers a number of command line switches that allow you to run the IDE and perform a specified task.  You can get a complete list and more information here Visual Studio Command Line Switches .

Here are a couple I’ve used.

First /ResetSkipPkgs:

This comes in handy when updating a web reference and get this error: “The components required to enumerate web references are not installed on this computer…”  The error goes on to suggest re-installing visual studio.  But, what this really means is at some point during start up a visual studio extension did threw and error and you said yes to not load it in the future.  All you need to do is run the above command and you should be able to update your web reference.

Second /Log:

Running this will create …\Application Data\Microsoft\VisualStudio\9.0\ActivityLog.xml.  I haven’t used this personally, but the vendor of a third party tool I’m using asked for it to help troubleshoot an issue.  I thought I’d pass it along.


About Shawn Sweeney

I'm a father, software developer, and runner. I blog about things related. View all posts by Shawn Sweeney

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: