From 210ace735d5b19eb82faaec9a95a0a29be3b5b26 Mon Sep 17 00:00:00 2001 From: Knut Wannheden Date: Fri, 5 Apr 2024 18:13:32 +0200 Subject: [PATCH] Parse `.csproj` as XML --- rewrite-xml/src/main/java/org/openrewrite/xml/XmlParser.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rewrite-xml/src/main/java/org/openrewrite/xml/XmlParser.java b/rewrite-xml/src/main/java/org/openrewrite/xml/XmlParser.java index 33f28450f16..a7db130b81d 100755 --- a/rewrite-xml/src/main/java/org/openrewrite/xml/XmlParser.java +++ b/rewrite-xml/src/main/java/org/openrewrite/xml/XmlParser.java @@ -80,7 +80,8 @@ public boolean accept(Path path) { p.endsWith(".xslt") || p.endsWith(".tld") || p.endsWith(".xjb") || - p.endsWith(".jsp"); + p.endsWith(".jsp") || + p.endsWith(".csproj"); } @Override