Nodejs TFS Definition Definition

Can someone tell me what the assembly definition for the node.js application should look like? Also how to mention mocha tests in automated tests?

The first time I tried to queue an assembly, I received an error message:

Microsoft.NodejsTools.targets not found.

So, I went and copied the NodejsTools folder with the .target and dll file on my build server. And I did not see a mistake.

Now I get the following error:

C: \ Program Files (x86) \ MSBuild \ Microsoft \ VisualStudio \ v11.0 \ WebApplications \ Microsoft.WebApplication.targets (132): The file obj \ Debug \ OstNodeJs.exe could not be copied because it was not found.

+5
source share
1 answer

You will need the node.js framework and the Visual Studio node.js tools on the build server. You simply copied the necessary files, and this can lead to other problems.

For an issue with an executable copy, you can try adding <Disable_CopyWebApplication>True</Disable_CopyWebApplication> to the project file. See Here: Configure on TFS wants to copy the executable from the node.js test project

0
source

Source: https://habr.com/ru/post/1232160/


All Articles