dotnet / dotnet/msbuild

Support schema validation in `dotnet msbuild`.

Open
#12,229 2 comments 0 reactions 1 assignee Claimed by @rainersigwald View on GitHub
triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

The `-validate` CLI option is [gated behind](https://github.com/dotnet/msbuild/blob/7e8163ddf001966e090f8797bd049798b1331aad/src/MSBuild/ProjectSchemaValidationHandler.cs#L4) the `FEATURE_XML_SCHEMA_VALIDATION` constant, which is enabled only in .NET Framework, but the underlying APIs are available in modern .NET too.

This issue tracks adding this feature to the modern .NET flavor of MSBuild. It should be trivial (just removing the ifdefs, which I have done locally in a branch), unless I'm missing something.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.