If you see this error, you might also get 'Microsoft Visual Studio Tools for Applications 2.0 is configuring the environment for first time use. This might take a few minutes.'
Both of these messages are likely caused by attempting to open an incorrect file type. Verify you are opening an Application File Type.