Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SolutionFilter support to MSBuildWorkspace #51782

Merged
merged 3 commits into from
Mar 19, 2021

Conversation

JoeRobich
Copy link
Member

Even if MSBuild provided us a way to get the filtered list of projects from the loaded SolutionFile, Filter support would then be tied to having a sufficiently recent MSBuild. Reading the filter file separately allows these changes to work even with versions of MSBuild that did not contain support.

Based on the changes in dotnet/msbuild#4899

{
public static bool IsSolutionFilterFilename(string filename)
{
return Path.GetExtension(filename) == ".slnf";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be case insensitive?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dotnet dotnet deleted a comment from azure-pipelines bot Mar 14, 2021
@JoeRobich JoeRobich merged commit 33dd9ab into dotnet:main Mar 19, 2021
@ghost ghost added this to the Next milestone Mar 19, 2021
@allisonchou allisonchou modified the milestones: Next, 16.10.P2 Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants