Duh: projects of non-installed identities won’t load in VS. Learned: always install your VM yourself
Posted by jpluimers 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 comment