Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Excluding directories and files from ASP.NET 5 projects

$
0
0

ASP.NET 4 had a project file which explicitly listed files that are in the project and thus listed in the Solution Explorer.  There was a context menu option to "include in project" or "exclude from project" to adjust what shows up in the Solution Explorer.

I am trying to work with an ASP.NET 5 project now and it appears it automatically always shows all directories and files in the Solution Explorer.  There is no longer an option to "exclude from project"  Though, it does appear to automatically exclude "node_modules".  It looked like this was controlled in the project.json file with {"exclude": [...]}  However, adding entries here does not seem to have any effect on excluding items from the Solution Explorer.  What is the proper method to do this in ASP.NET 5?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>