In Visual Studio, Make sure Node.js path is set. Right click on npm node in solution explorer > configure External Tools. By default Node.js is located at
After adding move this line at top at least above the $(VSINSTALLDIR)\Web\External line.
Now right npm in solution explorer and select Restore Packages
1 First make sure right Framework is set for project. for this Right click project > properties. Change Framework if different
2. Make sure Nuget Package manager set in Visual studio
2. Compile the Project.