1

Resolved

Can't build/run/deploy django project on VS 2012

description

DevBuild 20128, VS 2012

Create new django web project
Add virtual env
Install django
F5
The "XmlPoke" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\Windows\Microsoft.NET\Framework\v2.0.50727" directory.  C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Python Tools\Microsoft.PythonTools.Web.targets

comments

Zooba wrote Jan 29 at 3:31 PM

Can you try changing the first line of your .pyproj file to <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> (adding the ToolsVersion) and see if that makes a difference?

huguesv wrote Jan 29 at 5:36 PM

I was able to run and publish to azure with that change.