Msbuild: Consider supporting .slnf solution filters

Created on 24 Jan 2019  路  8Comments  路  Source: dotnet/msbuild

This is a new feature in VS: https://docs.microsoft.com/en-us/visualstudio/ide/filtered-solutions?view=vs-2019. MSBuild doesn't understand .slnf files so you can't build them at the command line, but I assume (without looking into it at all) that it would be possible to build a solution metaproject using a .slnf and its .sln and build it.

Solution (.sln)

Most helpful comment

This is coming up repeatedly as an ask from customers who are giving us feedback about solution filters. Please consider adding this support.

All 8 comments

Yes please! We currently have several different solution files that we use for building different subsets of our code base in different CI/CD pipelines. It would be really nice to just have a single sln file with different .slnf definitions.

Any news on this?

This is coming up repeatedly as an ask from customers who are giving us feedback about solution filters. Please consider adding this support.

Very happy to see progress made on this issue. :) Thank you!

Did this feature actually land in 16.6?
I just installed VS 16.6 and started a build for an .slnf file and i got the following error:

error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

No 馃槩
Now I'm hoping to get it in 16.7

@rainersigwald In which version of msbuild is this going to land?

16.7 (Preview 3 to be precise)

Was this page helpful?
0 / 5 - 0 ratings