visual-studio-2015asp.net-corewebpackasp.net-core-1.0

ASP.NET Core : package.json is missing


As per the following link: when creating ASP.NET Core App, You have just show all files in solution to find the package.json, but in my case i am not able to find it. I need to add angular2 and WebPack dependencies.

So what is the problem?


Solution

  • You can add package.json in Visual Studio 2015 like this-

    Right click on Project > Add > New Item. In new Item popup window, you can select npm configuration file like below-

    package.json