The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My work

  • My badges

  • Twitter Updates

  • My Flickr Stream

    20140508-Delphi-2007--Project-Options--Cannot-Edit-Application-Title-HelpFile-Icon-Theming

    20140430-Fiddler-Filter-Actions-Button-Run-Filterset-now

    20140424-Windows-7-free-disk-space

    More Photos
  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,322 other followers

Duh: projects of non-installed identities won’t load in VS. Learned: always install your VM yourself

Posted by Jeroen Pluimers on 2011/02/23

For a project, I got a preconfigured VM for a client.

Certain projects they used gave this message:

—————————
Microsoft Visual Studio
—————————
The selected file cannot be opened as a solution or project. Please select a solution file or a project file.
—————————
OK
—————————

It appeared the didn’t do a full Visual Studio installation, so certain project types didn’t load.

This case it was Visual Studio 2008 and VBPROJ types, as Visual Basic .NET is way easier to do Office automation than C#.

In C#, you need truckloads of Type.Missing, which you do not need in VB.NET; Visual Studio 2010 made this easier, but you still often need them.

Lesson learned: always build all projects when you get a development VM, and prefer to install the VM yourself.

–jeroen

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 )

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

 
Follow

Get every new post delivered to your Inbox.

Join 1,322 other followers

%d bloggers like this: