How do you use npm in Visual studio 2017 without project.json file?

Now that they have removed project.json in Visual Studio 2017, but used npm to install packages in devDependencies in this file, how do we use npm to install packages now? If I create a package.json file, wouldn't it be superfluous given the existing MyProject.csproj file?

+6
source share
1 answer

When you install the library through the terminal and click on the dependencies in the draft decision, you can see that this library will be marked as an outsider .

Outsider means the package is installed but not listed in your project.json package

package.json, .

+1

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


All Articles