Parsing MSBuild project XML in Rust

2020-03-16

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

Tags

Rust
Programming

Content © 2024 Richard Cook. All rights reserved.