How can I set up gulp to run identically in Visual Studio 2017 and msbuild without having to change my build scripts?

后端 未结 3 2001
礼貌的吻别
礼貌的吻别 2021-02-06 00:18

I\'m struggling to get set up with gulp in Visual Studio 2017. I\'m not sure where I\'m going wrong but there are a few things I\'m confused about and I can\'t really find any o

3条回答
  •  你的背包
    2021-02-06 00:34

    I found the solution here. More information on that part of VS from Mads himself.

    You have to force Visual Studio run with your Node.js version:

    Go to Tools > Options in Visual Studio 2017

    Go to Projects and Solutions > External Web Tools

    Add the following path: C:\Program Files\nodejs

提交回复
热议问题