简体   繁体   English

源控件上的Visual Studio错误

[英]Visual Studio Error on Source Control

I tried to upgrade Visual Studio 2010 solution to a 2013/2015 version by manually editing the solution file and replacing 我试图通过手动编辑解决方案文件并替换来将Visual Studio 2010解决方案升级到2013/2015版本

 Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010 to #Visual Studio 2015

Since then , I am unable to open the solution in VS 2010/2015. 从那时起,我无法在VS 2010/2015中打开该解决方案。 I know there's some issue with migration but the following error pops up when I try to open my solution in VS 2010 he solution appears to be under source control, but its binding information cannot be found. Because it is not possible to recover this missing information automatically, the projects whose bindings are missing will be treated as not under source control. 我知道迁移存在一些问题,但是当我尝试在VS 2010中打开我的解决方案时会弹出以下错误,该he solution appears to be under source control, but its binding information cannot be found. Because it is not possible to recover this missing information automatically, the projects whose bindings are missing will be treated as not under source control. he solution appears to be under source control, but its binding information cannot be found. Because it is not possible to recover this missing information automatically, the projects whose bindings are missing will be treated as not under source control. I have few pending changes on my projects which needs to be checked in. I am not sure if solution mentioned here is right for me. 我的项目中有一些尚待确认的待定变更。我不确定这里提到的解决方案是否适合我。

I need a way to atleast open my solution in VS 2010 so I can check in and think of updating the VS version. 我需要一种在VS 2010中至少打开我的解决方案的方法,以便我可以签入并考虑更新VS版本。

Thanks, 谢谢,

I dont have VS2010 or VS 2015, so I created a blank solution in VS 2008 and made the following changes, it opened in VS 2013 without any issues: 我没有VS2010或VS 2015,所以我在VS 2008中创建了一个空白解决方案并进行了以下更改,它在VS 2013中打开时没有任何问题:

 Microsoft Visual Studio Solution File, Format Version 10.00 -> replaced that with 
Microsoft Visual Studio Solution File, Format Version 12.00

Visual Studio 2008 -> replaced that with
Visual Studio 2013

Added a new line right after "# Visual Studio 2013": 
VisualStudioVersion = 12.0.31101.0

So in your case it would be something like (make sure to edit to the right version number) 因此,在您的情况下,它就像(确保编辑到正确的版本号)

Visual Studio 2015
VisualStudioVersion = 14.0.23107.0

Reset developer environment using visual studio IDE. 使用Visual Studio IDE重置开发人员环境。 Command to run in command prompt is "devenv /resetuserdata" 在命令提示符下运行的命令是“ devenv / resetuserdata”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 用于Visual Studio项目的超简单LightWeight源代码控制? - Ultra-Simple LightWeight Source Control for Visual Studio Projects? 如何使用Visual Studio 2012从源代码管理中分离项目? - How to Detach a Project from Source Control using Visual Studio 2012? Visual Studio Command,用于转到源代码管理资源管理器中的特定项目 - Visual Studio Command for going to a specific item in source control explorer 从Visual Studio扩展中找出ProjectItem的源控件状态 - Find out the source control state of a ProjectItem from a Visual Studio extension 将Visual Studio 2015项目添加到源代码管理时出现问题 - Problems adding Visual Studio 2015 project to Source control 不需要服务器的 Visual Studio 的源代码管理? - Source control for Visual Studio that doesn't require a server? 从上次成功构建Visual Studio还原项目-无源代码控制 - restore project from last successful build visual studio - No source control 在源代码管理下,将网站升级到Visual Studio 2010中的Web应用程序 - Upgrade website to webapplication in visual studio 2010 while under source control Visual Studio 2015项目无法添加到源代码管理 - Visual Studio 2015 project fails adding to source control Ajax控件工具包,Visual Studio 2010,错误 - Ajax Control Toolkit, Visual Studio 2010, error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM