1

Resolved

Project doesn't load if ProjectHome is empty

description

With the latest rolling build (CL1238572, April 23rd) on VS 2013, I can no longer open the azure.pyproj and azuretests.pyproj from the azure sdk for python.

I get the following errors in the output window:
c:\code\azure-sdk-for-python\azure\azure.pyproj : error  : The expression "[System.IO.Path]::GetFullPath('')" cannot be evaluated. The path is not of a legal form.  C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Python Tools\Microsoft.PythonTools.targets

C:\code\azure-sdk-for-python\tests\azuretests.pyproj : error  : The expression "[System.IO.Path]::GetFullPath('')" cannot be evaluated. The path is not of a legal form.  C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Python Tools\Microsoft.PythonTools.targets
Note that PTVS 2.1 Beta was able to load them, so this must be a recent change.

If I edit the .pyproj and change ProjectHome to be . (dot) then it can load. I can certainly fix it manually but is this something that needs to be handled by a project conversion? It's not immediately obvious by the error in the output window what the user needs to do to fix it.

comments

Zooba wrote Apr 24 at 2:01 AM

It should be fixed in the targets file. I'll get it tomorrow.