Click here to Skip to main content
15,891,777 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Thanks

What I have tried:

Tried to find the deference between a backup copy but couldn't find anything useful.
Posted
Updated 16-Sep-18 23:58pm

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.
 
Share this answer
 
Look at the project settings to see which path the backup is using and why it may not be correct.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900