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

Edited Unassigned: Can I remove Microsoft.NodejsTools.targets from my project? [1318]

$
0
0
My project "compiles" and runs without issue when I remove the following line from my njsproj file:

```xml
<Import Project="$(VSToolsPath)\Node.js Tools\Microsoft.NodejsTools.targets" />
```

Inside of the `Microsoft.NodejsTools.targets` file, I see build steps for _Typescript_, _Azure_ and _Web Deploy/Publish_ which I'm not using at this time. So, will there be a problem if I remove that import?

I just want to use Visual Studio to edit my files and to run Node.js.

(NOTE: If I keep the import and use something like [flatten-packages](https://www.npmjs.org/package/flatten-packages) to un-nest some node_modules, then it works fine too. However I don't want to have to do that.)

Viewing all articles
Browse latest Browse all 4630

Trending Articles



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