使用Visual Studio在线继续部署节点js云服务项目 [英] Continuous Deploy node js cloud service project using visual studio online

查看:71
本文介绍了使用Visual Studio在线继续部署节点js云服务项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我目前在Visual Studio中有一个Azure Cloud Service,包含简单的Node.js web角色。



这在Visual Studio中正确构建和打包,并且完美地部署到Azure云服务中。



当尝试使用Visual Studio Online构建解决方案时,MSBuild无法声明:



2016 -07-01T10:09:56.7893397Z ## [错误或者] C:\Program Files(x86)\ MSBuild\Microsoft\VisualStudio \v14.0 \ Windows Azure Tools\ 2.8 \ Microsoft.WindowsAzure.targets(1329,5):错误:WAT070:找不到引用的程序集C:\\\\\\\CloudTool \Client \ Client.exe。请
确保在构建此Microsoft Azure云服务项目之前构建生成此程序集的角色项目。



...这似乎表明它期待构建Node.js项目发出一个.exe文件。



我按照本文中提到的相同步骤( https://www.visualstudio.com/en-us/docs/release/examples/nodejs/node -to-azure-cloud-service#help-and-support
连续部署节点js云服务项目。



当我用谷歌搜索它时,我发现这个git hub问题链接(https://github.com/Microsoft/nodejstools/issues/428 ),其中没有提到解决方案所以我想要知道这个问题是否已解决,如果是,我该如何解决,因为我无法找到任何解决方案。

解决方案


由于您的问题与VSO有关,因此我将您的主题移至相应的论坛以获得更好的支持。


<感谢您的理解。



最好的问候,


Lake Xiao


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 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.

解决方案

Hi,

Since your issue is more related to the VSO.  I moved your thread to the corresponding forum for better support.

Thanks for your understanding.

Best Regards,

Lake Xiao


这篇关于使用Visual Studio在线继续部署节点js云服务项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆