I am getting the below error.
msdeploy.exe is not a valid win32 appplication
i get the error when run using exec task of msbuild and also when i just run msdeploy from a command prompt.
i tried uninstalling web deploy and re-installing it. the error doesn't seem to go away.
Any idea how to solve this? let me know what additional information is required.