打不开visual studio解决方法

cant open visual studio solution

一位朋友向我发送了他的 visual studio 项目,其中包含 2 个文件:

naomi.sln
naomi.v12.suo

当我尝试打开第一个文件时,我在 visual studios 中收到错误:

One or more projects in the solution were not loaded correctly. Please see the Output Window for details. 

如何打开项目?

您实际上没有项目(只有解决方案 - .sln 文件)。项目文件应具有 .vcproj.vcxproj 扩展名。 .suo 文件包含一些解决方案用户数据(如 [MS.Docs]: Solution User Options (.Suo) File 中所示)。
获取解决方案引用的项目文件,即可打开。