From 7fd6b7e920beead0e76f256905332af3ffa1de97 Mon Sep 17 00:00:00 2001 From: bd_ Date: Mon, 11 Sep 2023 00:09:44 +0900 Subject: [PATCH] ci: Fix reference assembly name --- UnitTests~/DocsBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnitTests~/DocsBuilder.cs b/UnitTests~/DocsBuilder.cs index 4e6d46a..1a41856 100644 --- a/UnitTests~/DocsBuilder.cs +++ b/UnitTests~/DocsBuilder.cs @@ -58,7 +58,7 @@ private static void MungeProjectFile(string file) { var assembly = possibleDll.Substring( possibleDll.LastIndexOf('/')); - assembly = possibleDll.Substring(possibleDll.Length - 4); + assembly = assembly.Substring(0, possibleDll.Length - 4); var referenceNode = doc.CreateElement("Reference", root.NamespaceURI); referenceNode.SetAttribute("Include", assembly);