Reputation: 1846
I get an error when I'm trying to publish my web roles. I'm using VS2012 with Azure SDK 1.7. Project runs without issues in the emulator. Error :
Error 79 The target "PipelineTransformPhase" does not exist in the project.
This error comes even with packaging.
Upvotes: 2
Views: 817
Reputation: 51
I found that when you create a standalone MVC app the import declaration for Microsoft.WebApplication.targets in the proj file is slightly different than if you create a cloud service w/ an MVC web role. If you compare the two you'll notice a slight difference:
Standalone MVC:
<Import roject="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets" />
MVC Created as Web Role for Cloud Service:
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
I just changed mine to use the VSToosPath and it resolved my issue.
Upvotes: 1