简体   繁体   中英

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

 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. 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. 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.

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:

 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. Command to run in command prompt is "devenv /resetuserdata"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM