There were before aspdotnet1.0 include/exclude sections on project.json file
aspdotnet1.0
project.json
{ \"exclude\": [ \"node_modules\", \"bower_c
In .csproj for Visual Studio versions 15.3 and higher, this keeps the files visible in Visual Studio (whereas "Content Remove" does not), and prevents the files from being published.
.csproj