How to install ag-grid in Visual Studio 2015?

Can anyone share the steps to add ag-grid to a Visual Studio 2015 C # project? I tried "npm install ag-grid", which created node_modules / ag-grid in my folder, but did not add it to the solution. If I add the node_modules folder to the solution and try to rebuild, I get errors:

"Assembly: it is not possible to compile modules if the '-module' flag is provided. C: \ SVN \ SolutionName \ ProjectName \ node_modules \ ag-grid \ dist \ lib \ entities \ rowNode.d.ts 5"

and

"Build: Experimental decorator support is a feature that may be changed in a future release. Specify '--experimentalDecorators' to remove this warning. C: \ SVN \ SolutionName \ ProjectName \ node_modules \ grid ag \ SRC \ cell \ cellNavigationService. ts "

enter image description here

+4
source share

All Articles