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

Commented Issue: WAT070: The referenced assembly WorkerRole.exe was not found. Please make sure to build the role project that produces this assembly before building this Microsoft Azure Cloud Service Project [1797]

$
0
0
Attempting to build an Azure Cloud Services project via MSBuild emits the following error. As far as I was aware the Worker Role (Nodejs) projects do not generate an executable file, nor can I find any reference to one in the targets/project file.

Any ideas how I can workaround this?
Comments: Well all that appears to be required is having `WorkerRoleName.exe` in the project root folder as the build targets tries to copy this to the output folder. All that's needed here is to add a fake `WorkerRoleName.exe` file to the project root folder, in my case I already have an `AfterBuild` target that copies linked files into their respective locations so adding a link to `WorkerRoleName.exe` did the job.

Viewing all articles
Browse latest Browse all 4630

Trending Articles



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