Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

Error Building Python Webapp

$
0
0

I'm having issues trying to build a Python web app using the continuous deployment tools - I always get the following error:

C:\a\src\Main\Main\Main.pyproj (31): The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Python Tools\Microsoft.PythonTools.Web.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

Which sounds to me like the PythonTools aren't present on the build server. For the record, the solution was created using Visual Studio 2013 and I haven't changed anything in the solution since creating it. I had a previous website before that was getting the same issue, and tried changing the version of the solution but didn't have any luck with that. As an attempted workaround, I tried manually including the referenced file in my solution, along with the DLL that it references, but this ended up with a different error, and even had it worked, it's clearly not the desired solution.



Viewing all articles
Browse latest Browse all 6687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>