4 ms·
This may actually take longer than having a line item for each file, consider: > Visual Studio, please open all *.cs files in this directory (recursive) vs.
by ToastyMallows 12y ago
This may actually take longer than having a line item for each file, consider:
> Visual Studio, please open all *.cs files in this directory (recursive)
vs.
> Visual Studio, open all of these files
Also, by itemizing each file you can exclude single files from build easier.
This is all speculation.
EDIT: Also, I think they did this because they didn't expect users to be mucking around in .csproj files.
- troygoode 12y agoVisual Studio doesn't open all of the *.cs files listed in the CSProj file, they're only pulled in by MSBuild while building. Also MSBuild supports wildcards today and it is plenty fast - it is just Visual Studio that screws it up. As far as "exclude single files from build easier"... if you want to optimize for that why not invert the paradigm? Instead of listing every file that IS included, list the ones that aren't.
- ToastyMallows 12y agoValid points. We'll see what they do!
- shanselman 12y agoWe will support both inclusive and exclusive patterns.