Continuous Deploy node js cloud service project using Visual Studio Team Services

限于喜欢 提交于 2019-12-12 02:09:45

问题


I currently have an Azure Cloud Service within Visual Studio containing simple Node.js web role.

This builds and packages correctly within Visual Studio locally, and deploys perfectly into the Azure cloud service.

When trying to build the solution with Visual Studio Team Services (previously Visual Studio Online), MSBuild fails claiming:

2016-07-01T10:09:56.7893397Z ##[error]C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Windows Azure Tools\2.8\Microsoft.WindowsAzure.targets(1329,5): Error : WAT070 : The referenced assembly C:\a\1\s\CloudTool\Client\Client.exe was not found. Please make sure to build the role project that produces this assembly before building this Microsoft Azure Cloud Service Project.

...which seems to indicate it's expecting the build of the Node.js project to emit an .exe file.

I followed the same steps as mentioned in this article (https://www.visualstudio.com/en-us/docs/release/examples/nodejs/node-to-azure-cloud-service#help-and-support) to continuous deploy node js cloud service project.

When I googled it I found this git hub issue link (https://github.com/Microsoft/nodejstools/issues/428 ) in which no solution mentioned so I want to know this issue resolved or not if yes how can I solve it because I am not able to find any solution.

来源:https://stackoverflow.com/questions/38143662/continuous-deploy-node-js-cloud-service-project-using-visual-studio-team-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!