如何强制解决方案文件(SLN)在Visual Studio 2013中打开? [英] How to force a Solution file (SLN) to be opened in Visual Studio 2013?

查看:1024
本文介绍了如何强制解决方案文件(SLN)在Visual Studio 2013中打开?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

试图打开一个VS 2012的解决方案(SLN文件)明确地在VS 2013成功。只需双击它在Windows资源管理器打开还是它VS 2012来代替。

Trying to open a VS 2012 solution (SLN file) explicitely in VS 2013 succeeds. Simply double-clicking it in Windows Explorer still opens it in VS 2012 instead.

我读<一href="http://stackoverflow.com/questions/12095339/visual-studio-2012-doesnt-convert-vs2010-solution">Visual工作室2012不转换VS2010的解决方案?跟着建议,另存为...解决方案文件

不过它在VS 2012在默认情况下打开。

Still it opens in VS 2012 by default.

我的问题:

如何改变一个SLN文件,以迫使它在Visual Studio 2013被打开?

How to change a SLN file to force it being opened in Visual Studio 2013?

推荐答案

的.sln 文件表示的的版本早之一行 - 例如:

The .sln file indicates the intended version as one of the early lines - for example:

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012

但是 - 它只能利用这一点,如果对的.sln 文件的默认应用程序是微软的Visual Studio版本选择器。这并非罕见的默认的.sln 应用程序是一个具体的版本代替。在Windows 8:

However - it can only make use of this if the default application for .sln files is the "Microsoft Visual Studio Version Selector". It is not uncommon for the default .sln application to be a specific version instead. In windows 8:

您可以告诉这是默认的,因为它说:继续使用:

you can tell which is the default because it says "keep using":

这篇关于如何强制解决方案文件(SLN)在Visual Studio 2013中打开?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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