Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

New Post: Converting raw Node.js worker role to NTVS project

$
0
0
I notice the Node.js project had the option to convert into Microsoft Azure cloud service app, of which it created its own separate cloud service deployment project. So I removed my own cloud service project and renamed the new one according to my convention. Had to totally rewrite the csdef cscfg files as it seems to assume a web role when mine's a worker role.

After ensuring the configuration's matching the previous raw files I had to Powershell publishing, I tried a Publish via the cloud service project, but it ended up with

Error 18 web.config not found in project, to create a project to deploy to Microsoft Azure you must create a Microsoft Azure Node.js project. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Node.js Tools\Microsoft.NodejsTools.targets 200 5 <cloud project>

But this is a worker role and there is no web.config to speak of. Is NTVS only targeted towards web role publishing?

I also noticed VS 2013 scaling 1-2GB memory use during build.

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>