I have several projects used in multiple solutions that were created in Visual Studio 2008 or 2010. I would like to be able to open the solutions/projects in Visual Studio 2013. I thought once upon a time that there was a command line utility that converted projects to the currently installed version of Oxygene. Is it not available anymore?
I know that I can perform the tasks manually by:
Updating MSBuild targets references in project files
Renaming .chrome project files to .oxygene
Updating references in solution files to renamed files
However, I’d like to avoid having to do it manually, if possible. Are there any other options?
Hmm. The converted was for updating pre-msbuildroject files to msbuild format. It sounds like your projects are already in msbuild format, so they should open fine and get updated to the latest targets when they do. At most you might need to rename them to .oxygene (or better .elements), if VS can no longer open them named .chrome (I’m not sure if it does or not).
Attempting to open the legacy projects in Visual Studio results in errors related to the .targets file as shown in the screenshot:
It doesn’t matter if the extension is .chrome or .oxygene. The problem appears to be the path of the .targets file. In both file types, the path to the .targets file is the same.
In order to get the projects to open in Visual Studio I modified the import reference from:
After saving the successfully opened project in Visual Studio, I noticed that the import reference was changed to (which is what it is for newly created projects):