解决方案(.sln)文件不会作为解决方案加载。 [英] Solution (.sln) file will not load as a solution.

查看:177
本文介绍了解决方案(.sln)文件不会作为解决方案加载。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我开始这个项目之前,我正在尝试加载一个持有我职位的人创建的.sln文件。该文件在VS 2010中打开,但不是作为解决方案而是仅用于编辑的文件,因此没有可用于解决方案的构建选项。我从一年前打开
相同的WEOT.sln文件,它可以使用可用的构建选项加载,所以我怀疑该文件有问题。有关更正或重建解决方案文件的任何建议?  附上2张图片。 

I am trying to load a .sln file created by someone holding my position before prior to me working on this project. The file is open in VS 2010 but not as a solution but just a file for editing and thus has no build options available for the solution. I open the same WEOT.sln file from a year ago and it load fine with the build options available so I suspect that something is wrong with the file. Any suggestions on correcting or rebuilding the solution file?  2 images attached. 

推荐答案

嗨朋友,

对此感到抱歉,但我看不到您提到的图片。

Sorry about this, but I could not see the images you mentioned.

未加载解决方案的最可能原因可能是因为您正在使用的Visual Studio版本与解决方案(您尝试使用的版本)不兼容load)建成了。例如 - 您可能在VS 2010中使用
而且该解决方案是使用VS 2008构建的。

The most probably reason of not loading the solution may be because of the version incompatibility of the version of Visual Studio you are using and the one by which the solution (you are trying to load) was built. For example - You may be using the VS 2010 And the solution was built using VS 2008.

解决方案是创建新的空解决方案并添加所有文件已下载以成功加载

希望有所帮助。

祝你好运,

Fletch


这篇关于解决方案(.sln)文件不会作为解决方案加载。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆