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

Commented Unassigned: Nodejs project build on MSBuild [1451]

$
0
0
We have a NodeJs project that we want to build on our TFS Server. We are using the Default Git template for our Build Definition. However we are getting the following error:

```
"E:\NodeJs\Sample\Sample.njsproj" (default target) (1) ->
(_CopyWebApplicationLegacy target) ->
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\WebApplications\Microsoft.WebApplication.targets(136,5): error MSB3030: Could not copy the file "obj\Debug\Sample.exe" because it was not found. [E:\NodeJs\Sample\Sample.njsproj]

```
We think it is because it is using the standard Web targets instead of the nodejs one.

Is there any documentation on how to integrate building nodejs projects with MsBuild on the build server?
Comments: I'm running into the same issue. I have the Node.js tools installed on the server but am still getting this error.

Viewing all articles
Browse latest Browse all 4630

Trending Articles



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