Fix for Visual Studio version selector: (unrecognized version)

The Visual Studio version selector, is a really useful tool, but way too often it comes up with “Version: unrecognized version”, and won’t allow you to open your files. So how do you get from here to there?
Visual Studio version selector

This has been reported to Microsoft who have responded that this is “by design”. Wow – must have been a shitty design then!

The upshot is that the version selector is really picky about what it allows in terms of white-space. Unix-encoding for your line-terminators? BZZZZZT! A blank line to start the file? BZZZZZT!

Make sure you are using Windows encoding for your file (Notepad++ is very useful for this: Edit → EOL Conversion → Windows Encoding), and that there are no blank lines at the start of the file. There are a few other ways you could break it with white-space, but they’re the two my source-control seems to like to do.

Advertisements

6 thoughts on “Fix for Visual Studio version selector: (unrecognized version)

  1. Hi, I do believe your blog could possibly be having internet browser compatibility issues. When I take a look at your web site in Safari, it looks fine however, when opening in Internet Explorer, it’s got some overlapping issues. I merely wanted to give you a quick heads up! Besides that, wonderful website!|

  2. This was an unbelievable simple solution that completely worked in my case of opening a known VS 2005 solution. Thank you so very much for sharing.

  3. Hello! I know this is somewhat off tpic but I was wondering which blog
    platform are you using for this site? I’m getting sick and tired of WordPress because I’ve haad issues with hackers
    and I’m looking at alternatives forr another platform.
    I would be great if you could point me in the direction of a good platform.

Leave a Reply

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

WordPress.com Logo

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

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s