Skip to content

Add support for schema validation in dotnet msbuild.#12230

Closed
teo-tsirpanis wants to merge 8 commits intodotnet:mainfrom
teo-tsirpanis:validate-netcore
Closed

Add support for schema validation in dotnet msbuild.#12230
teo-tsirpanis wants to merge 8 commits intodotnet:mainfrom
teo-tsirpanis:validate-netcore

Conversation

@teo-tsirpanis
Copy link
Copy Markdown
Contributor

@teo-tsirpanis teo-tsirpanis commented Jul 26, 2025

Fixes #12229

Note

Depends on #12231.

Context

The -validate CLI option was restricted to .NET Framework editions of MSBuild, but the underlying APIs are available on all currently supported frameworks. This PR stops excluding the code in question to only .NET Framework, which adds this CLI options to dotnet msbuild.

Changes Made

The FEATURE_XML_SCHEMA_VALIDATION directive was removed, and the code it was guarding is now compiled on all frameworks.

Testing

Existing tests enabled to run on all frameworks.

Notes

@github-actions
Copy link
Copy Markdown
Contributor

This pull request has been automatically closed because it has been open for more than 180 days with no recent activity.

If you believe this work is still relevant, please feel free to reopen or create a new pull request. Thank you for your contribution!

Generated by Close Stale Pull Requests

@github-actions github-actions Bot closed this Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support schema validation in dotnet msbuild.

1 participant