I am migrating a large solution from an older version of Intel Fortran. The old solution file contained the following:
My header for VS 2015 (update 3) solution files says:
Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1
Adding VisualStudioVersion/MinimumVisualStudioVersion might help in your case. However, why don't you let VS do this. Isn't it asking, when you open an older *.sln?
Tested it, VS 2010 *.sln are not converted automatically by VS 2015. But, if click on the solution in the tree (solution explorer in VS 2015) and File->Save "My_Solution.sln" As... the new saved solution has the current header.
You don't have to do this - VS2012 and later will properly handle VS2010 solutions with no ill effects.
Yes but will it compile with the current Intel Fortran version? That's the question.
I just tried opening the project without touching the .sln and .vfproj files and it compiles fine (albeit slower than with the earlier version we had). So like you said there appears to be some back-compatibility. I then saved the new solution to see if the .vfproj file was modified to reflect the new fortran version, but it was not. It still shows
Version = '11.0'
Although during the compilation the standard output shows:
The version of the compiler used is independent of the Visual Studio solution version. Go to Tools > Options > Intel Compilers and Tools > Visual Fortran > Compilers. Make sure that "Selected compiler" says "Latest".
You must create a project (in a solution) first. You can't just open a Fortran source and build it into an executable.
A simple way is to select File > New > Fortran Project from Existing Code, then follow the prompts.