I'm trying to add my python project in my solution file (C++ projects & Fortran projects) using Visual Studio macros, but it seems that the python project can not be added this way. What I'm trying to do is to invoke the following command whenever I'm loading my solution :
DTE.ExecuteCommand("File.AddExistingProject", "my_python_proj.pyproj")
which is the command dumped in macro record by Visual Studio when I'm doing the import with the GUI.
The problem is that when executing this command Visual Studio is displaying a message box with an error : The project can not be converted, please see details in conversion log.
Maybe there is no support for using VS API in PTVS ? (I'm running 1.5 RC)
(The reason I'm trying to do this is that I use a build system which automatically generates SLN files, vcxproj's, vfproj's and I don't really want to modify it to write also pyproj files. So whenever I'm regenerating my build system I have to import the pyproj file in the created sln file which is a bit annoying).
Thanks,