Click here to Skip to main content
14,173,165 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hi I inherited an old projects that written in VS 2008 (C++ and C#)
I need to convert it to newer version of VS so i tried open it using VS 2015.
I have many warnings (0 errors) and the most common in each project is this:

Warning: The project file is being backed up to a relative path that differs from the original solution relative path. The difference in folder hierarchy may create problems in opening or building the backed up solution and project.

Can you guys help me understand how to solve it since now few of the projects can be compiles but others not

What I have tried:

Tried to find the deference between a backup copy but couldn't find anything useful.
Updated 16-Sep-18 23:58pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

At the root of your solution must be a .sln file, which describes which projects belong to it.
Then, in the solution folder, there should be one subfolder for each project. In each of these subfolders, there should be a .csproj or .vcxproj file (depending on the type of the project).
The warning you got simply means that one or several of these .*proj files may now be in the backup subfolder, which would prevent VS to find and open them.
For each of the project which do not compile, get the actual error message, check the folder hierarchy for this project, and make required changes. As we do not have access to the specifics of your solution, no one here can do that for you.
The warnings you got while migrating the solution are not the key here; the specific messages for the projects which cannot compile are the ones you have to look for. Only they will tell you where the problems occur.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Look at the project settings to see which path the backup is using and why it may not be correct.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web05 | 2.8.190524.3 | Last Updated 17 Sep 2018
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100