Parsing MSBuild project XML in Rust


Today’s post is short and sweet. Today, I figured out how to parse MSBuild project XML files (.csproj, .targets files etc.) using the Rust sxd-document and sxd-xpath packages. Here it is:

Or check out the full, buildable project here.

Related posts

String conversions in Rust follow-up
String conversions in Rust
Boilerplate for Rust error/result
Bracket pattern in Rust
Traits and polymorphism in Rust
Richard’s Workspace Tool - more Rust programming



Content © 2024 Richard Cook. All rights reserved.